Another Chat App, here is the catch you can only send song lyrics.
- Docker
- Docker-Compose
- Make
-
Move into the
serverdirectorycd ./server -
Build the project
make buildor without Make
sudo docker-compose build
-
Move into the
serverdirectorycd ./server -
Run the server
make runThis is now running in terminal.
Alternatively you can run it in the background with:
make start -
Stop the server
make stop
-
Move into the
serverdirectorycd ./server -
Build the project
sudo docker-compose build
-
Move into the
serverdirectorycd ./server -
Run the server
sudo docker-compose upThis is now running in terminal.
Alternatively you can run it in the background with:
sudo docker-compse up -d -
Stop the server
sudo docker-compose down
The server will be running on localhost:8080
POST
/message/add
{
“message”: string,
“sender”: string,
“receiver”: string
}
GET
/messages/<sender>/<receiver>
PATCH
/message/<id>/read
POST
/message/valid
{
“message”: string
}