In the script files, you will find three folders: frontend, backend and docs.
This is the file tree for the backend:

You will have to edit the .env file or rename .env.example to .env
Inside the .env file you will have the following environment variables, which you must replace with your credentials.
// .env file
MONGO_URI=mongodb://localhost:27017/casino?retryWrites=true&w=majority
JWT_SECRET=secretWordJWT
FRONTEND_URL=http://localhost:3000
BACKEND_URL=http://localhost:4000
CALLBACK_SECRET=Jhjd83jKSNjdlem
EMAIL_HOST=sandbox.smtp.mailtrap.io
EMAIL_PORT=YOUR_SMTP_PORT
EMAIL_USER=YOUR_SMTP_USERNAME
EMAIL_PASSWORD=YOUR_SMTP_PASSWORD
This is the file tree for the frontend:


npm run install
Once you have configured all of the above, you are ready to run your application.
npm run start
npm install --global serve
serve frontend
Go to configuration step…