This project is a REST API which is used to handle the employee database, via CRUD operations. All the API documentation you can find here.
All of software is running in Docker containers.
- Backend - node.js used with express.js.
- Database - mongoDB used with ODM Mongoose.
- Others:
- Docker,
- JSON web token,
- express validator,
- bcrypt.
To run the project (tested on Debian 11):
- Make sure you have
dockeranddocker composeinstalled. - Login to your server and clone the repository.
- Enter the repo and search for
.env.examplefile. - Put there all of informations.
- Rename
.env.examplefile to.env. - Run the containers by using
docker compose up -din main folder (includesdocker-compose.ymlfile). - When docker compose process will end you can check containers by using
docker ps -a.
- You can check the API by sending requests on the adress of the server which has installed software on.

