Skip to content

A web app for playing real-time chess online via websockets

Notifications You must be signed in to change notification settings

ekremkmz/chess-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chess-backend

Server-side of Ekochess project that aims to teach how to design full-stack apps for beginners.

Medium

For getting visual output from the project, you can check out screenshots from the chess-client repository.

Pre-requisites

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"

About

A web app for playing real-time chess online via websockets

Topics

Resources

Stars

Watchers

Forks