Test task for the EORA-internship in the form of a Telegram-bot management system.
- Register at the
POST /auth/register
- Login at the
POST /auth/cookie/login
so that you get a cookie from the website - Get verified at
POST /cheat-verify
(It can be done the long way as well) - Add some bots at
POST /bots
- The bots work
- ???
Since there is a DockerFile for the server - deploying it along with the database is as simple as executing command in the project root
docker-compose up
The server will launch on port 80
A mongoDB instance will start on port 27017
A mongoExpress intance to view DB conent will start on port 8081
P.S all the ports can be changed in the docker-compose file
A CI/CD flow that automatically runs tests and deploys to heroku was set up. You can go to https://eora-internship-test.herokuapp.com/docs#/ to see the latest API with documentation and try it out.