Rememberly
- Setup frontend (
http://localhost:3000/orhttp://localhost:8000/)cd frontendnpm installnpm run-script build
- Setup backend (
http://localhost:8000/)- Return to the root directory
cd .. cd backendnpm install
- Return to the root directory
- Setup root
- Return to the root directory
cd .. npm install
- Return to the root directory
- To run development environment
npm run devor - To run production environment
npm run start
- Environment Variables:
NODE_ENV- The environment type - example: "production"PORT- The port that server.js runs