Server-side of Ekochess project that aims to teach how to design full-stack apps for beginners.
For getting visual output from the project, you can check out screenshots from the chess-client repository.
You should provide a .env file on the root directory of the project, or you should provide those variables directly from environment variables. As an example that contains needed variables:
# Database Config
DB_HOST=<your-mongodb-host-address>
DB_USER=<username>
DB_PASS=<password>
DB_NAME=<your-db-name>
# Mail Service Config
MAIL_HOST=<mail-service-host-address>
MAIL_PORT=<mail-service-port>
MAIL_USER=<username-of-mail-service>
MAIL_FROM=<mail-address-of-project>
MAIL_PASS=<password-of-mail-service>
JWT_SECRET=<jwt-key>
JWT_EXPIRE=8640000
DOMAIN="127.0.0.1"
PORT="3000"
GO_ENV=development
GOOGLE_APPLICATION_CREDENTIALS="./xxxxxxxx-firebase-adminsdk-xxxxx-xxxxxxxxxx.json"