|
| 1 | +# About Nominate |
| 2 | + |
| 3 | +This application uses React & json mock server to create a user-friendly interface where we can add\edit multiple |
| 4 | +applicants details inline in a list of applicants and toggle one of them as primary applicant. |
| 5 | + |
| 6 | +# Getting Started with Create React App |
| 7 | + |
| 8 | +This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). |
| 9 | + |
| 10 | +## Available Scripts |
| 11 | + |
| 12 | +This app uses standard npm to run or build application. Also a mock json server is used to imitate a simple backend. |
| 13 | + |
| 14 | +### `npm start` |
| 15 | + |
| 16 | +Runs the app in the development mode.\ |
| 17 | +Open [http://localhost:3000](http://localhost:3000) to view it in your browser. |
| 18 | + |
| 19 | +The page will reload when you make changes.\ |
| 20 | +You may also see any lint errors in the console. |
| 21 | + |
| 22 | +### `json-server |
| 23 | + |
| 24 | +Note: this part is yet under construction |
| 25 | + |
| 26 | +To run the backend mock server do (after first install via "npm install -g json-server"): |
| 27 | +json-server --watch db.json --port 3001 |
| 28 | + |
| 29 | +In the project directory (after first npm install), you can run: |
| 30 | + |
| 31 | + |
| 32 | +### `npm test` |
| 33 | + |
| 34 | +Launches the test runner in the interactive watch mode.\ |
| 35 | +See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. |
| 36 | + |
| 37 | +### `npm run build` |
| 38 | + |
| 39 | +Builds the app for production to the `build` folder.\ |
| 40 | +It correctly bundles React in production mode and optimizes the build for the best performance. |
| 41 | + |
| 42 | +The build is minified and the filenames include the hashes.\ |
| 43 | +Your app is ready to be deployed! |
| 44 | + |
| 45 | +See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. |
| 46 | + |
| 47 | +### `npm run eject` |
| 48 | + |
| 49 | +**Note: this is a one-way operation. Once you `eject`, you can't go back!** |
| 50 | + |
| 51 | +If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. |
| 52 | + |
| 53 | +Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. |
| 54 | + |
| 55 | +You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. |
| 56 | + |
| 57 | +## Learn More |
| 58 | + |
| 59 | +You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). |
| 60 | + |
| 61 | +To learn React, check out the [React documentation](https://reactjs.org/). |
| 62 | + |
| 63 | +### Code Splitting |
| 64 | + |
| 65 | +This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) |
| 66 | + |
| 67 | +### Analyzing the Bundle Size |
| 68 | + |
| 69 | +This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) |
| 70 | + |
| 71 | +### Making a Progressive Web App |
| 72 | + |
| 73 | +This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) |
| 74 | + |
| 75 | +### Advanced Configuration |
| 76 | + |
| 77 | +This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) |
| 78 | + |
| 79 | +### Deployment |
| 80 | + |
| 81 | +This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) |
| 82 | + |
| 83 | +### `npm run build` fails to minify |
| 84 | + |
| 85 | +This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) |
0 commit comments