This project was bootstrapped with Create React App.
In the project directory, you can run the following commands using make
command:(Refer Makefile
inside root folder)
Command | Action |
---|---|
make develop |
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser. A mock server will also be spawn at http://localhost:5000. The page will reload if you make edits. You will also see any lint errors in the console. |
make start |
Runs only the react app at http://localhost:3000 |
make install |
Install the npm dependencies with frozen lock file |
make build |
Builds the app for production to the build folder.It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes. Your app is ready to be deployed! |
make test |
Launches the test runner in the interactive watch mode. |
make coverage |
Generates test coverage. |
make lint |
Launches EsLint. |
make prettier |
Formats the javascript-css-md files as per specification. |
git clone <repository_url>
make install
(NB: Don't run npm install always runmake install
for consistency in package libarary versions.)make develop
- Make the code changes and when the code is ready to push follow:
git add
git commit
- git commit has a pre-hook which automatically runs prettier and adds the formatted code to the commit incase you have forgotten to run prettier.git push
Project related Architectural decision are recorded for historical references. They can be found here at