Check out current hosting here: https://bookd-web.herokuapp.com
-
Jest (For unit-test) - https://jestjs.io/docs/getting-started
-
Add following to your
package.json"jest": { "testEnvironment": "jsdom", "moduleNameMapper": { "\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/fileTransform.js", "\\.(css|less|scss|sass)$": "<rootDir>/styleTransform.js", "^src(.*)$": "<rootDir>/src$1" }, "transform": { "^.+\\.tsx?$": "ts-jest" } }
-
Create
fileTransform.jsfile insrcfolder, And add followinfg codeconst path = require('path') module.exports = { process(src, filename, config, options) { return ( 'module.exports = ' + JSON.stringify(path.basename(filename)) + ';' ) }, }
-
Create
styleTransform.jsfile insrcfolder, And add followinfg codemodule.exports = {};
-
-
Mui (For design components)- https://mui.com/getting-started/usage
-
Formik (For form validation) - https://formik.org/docs/overview
-
Clone the repository
git clone https://github.com/CSEKINGS/book-donation-react-ts-web.git
-
Install NPM packages
npm install
-
Run
npm run dev
-
Test
npm run test -
Build
npm run build
| Description | Desktop | Mobile |
|---|---|---|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |
|
![]() |
![]() |

































