- Nodejs
- Docker
- Sendgrid (email provider)
- start the database instance in docker
cd back-end
docker compose up
- install dependencies
- backend
cd back-end
npm i
- frontend
cd front-end
npm i
- backend
- create
.env
files and fill in this infoJWT_SECRET = secret DB_NAME = reactauth DB_USER = root DB_PASS = root DB_PORT = 27017 SENDGRID_API_KEY = xxxxx SENDER_EMAIL = [email protected] GOOGLE_CLIENT_ID = xxx GOOGLE_CLIENT_SECRET = xxx
- start both frontend and backend
cd front-end
npm run start
cd back-end
npm run start