stack: nodejs, nestjs, mysql
- Docker
- Clone repository on your local computer
- Run
docker-compose up
in project root
Once everything is up, API should be available under http://localhost:3000/
.
Below you can find list of endpoints:
- Create a room
POST /rooms
- Add a user to a room
POST /rooms/:roomID/users
- Send a message to a room
POST /rooms/:roomID/messages
- Get latest messages from a room
GET /rooms/:roomID/messages
More information about API endpoints can be found under http://localhost:3000/_docs
once the service is running.