Simple server for my needs.
Server gets texts by provided dialogID parameter from the database and sends json with texts to client. To succesfully make a request client should provide a valid "x-api-key" as a header. Server also has an express rate limiter, so the client can't make more than 1000 request in one hour.
- NodeJs
- Express
- Express-rate-limiter
- MySQL2
- docker
- docker-compose
git clone https://github.com/kanae367/backend-server
cd app
cp public.env .env
- Enter your values instead of placeholder inside the .env file
docker compose up