API server in Node + Koa v2 + Mongodb
Game server in SocketIO v2
Clone the project
$ git clone https://github.com/nawin9/EpiApi
$ cd EpiApi
NOTE: Install and run a mongo server before starting the server.
Commands | NPM | YARN |
---|---|---|
Install | npm install |
yarn install |
Start a dev server | npm run dev |
yarn dev |
Build a server | npm run build |
yarn build |
Start a production server | npm start |
yarn start |
The dev server is running at localhost:3000
Register: http://localhost:3000/register
Login: http://localhost:3000/login
Swagger: http://localhost:3000/swagger
- Start the project with koa
- Connection with mongodb
- Authentication with JWT
- Swagger Doc
- Necessary routes
- Installing Socket IO v2
- Socket events
- Dockerization
- Unit tests
- Deployment
- CI / CD