Rememberly
- Setup frontend (
https://localhost:3000/
orhttps://localhost:8000/
)cd frontend
npm install
npm run-script build
- Setup backend (
https://localhost:8000/
)- Return to the root directory
cd ..
cd backend
npm 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 dev
or - To run production environment
npm run start
- Environment Variables:
NODE_ENV
- The environment type - example: "production"PORT
- The port that server.js runs