npm i
or npm install
npm start
To run the build process which formats, lints, adds css prefixes, runs transpilers and polyfill and afterwards generates the assets, run this command
npm run predeploy
npm run deploy
email: admin@abc.com
The front-end is based on create-react-app.
The back-end is based on Express.
The front-end is served on http://localhost:3000/ and the back-end on http://localhost:3001/.
.
├── server/ - Express server that provides API routes and serves front-end
│ ├── api/ - Handles API calls for routes
│ ├── app.js - Adds middleware to the express server
│ ├── config - Defines the config constants for the endpoints and port and jwt secrets
│ └── server.js - Configures Port and HTTP Server
├── src - React front-end
│ ├── components - React components for each page
│ ├── App.js - React routing
│ ├── pages/ - The page route components
│ ├── services/ - custom util functions
│ └── index.js - React root component
└── README.md
-
React - https://reactjs.org/
-
React Router - https://reacttraining.com/react-router/
-
Bootstrap CSS - https://getbootstrap.com/
-
Express - https://expressjs.com/