install required node_modules
npm install
run the frontend(react) for development
npm run dev-react
run the backend(express) for development
npm run dev-express
Note:
nodemon
is required to run the dev-react scriptto install:
npm i -g nodemon
to build and deploy
npm run build
npm run start
Note: A MongoDb connection string is required for the variable
ATLAS_URI
inexpress/.env
file to run the express server.