Skip to content

deracloust/employee_database_rest_api

Repository files navigation

Employee database REST API

Table of contents

Introduction

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.

Technologies used

  • Backend - node.js used with express.js.
  • Database - mongoDB used with ODM Mongoose.
  • Others:
    • Docker,
    • JSON web token,
    • express validator,
    • bcrypt.

Setup

To run the project (tested on Debian 11):

  1. Make sure you have docker and docker compose installed.
  2. Login to your server and clone the repository.
  3. Enter the repo and search for .env.example file.
  4. Put there all of informations.
  5. Rename .env.example file to .env.
  6. Run the containers by using docker compose up -d in main folder (includes docker-compose.yml file).
  7. When docker compose process will end you can check containers by using docker ps -a.

img

  1. You can check the API by sending requests on the adress of the server which has installed software on.

img

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published