An open API service indexing awesome lists of open source software.

https://github.com/ibrsec/personnel_app-backend

Backend of a Personnel App
https://github.com/ibrsec/personnel_app-backend

express mongodb swagger token-authetication

Last synced: 2 months ago
JSON representation

Backend of a Personnel App

Awesome Lists containing this project

README

          








Logo

Personnel App backend


An awesome backend of the Personnel App application
Explore the docs »




.
Backend Swagger
·
Backend Re-doc
·
Frontend Live Link?
·
frontend Repo?
·
Report Bug
·
Request Feature


📎 Table of Contents 📎


  1. About The Project

  2. ERD


  3. Overview

  4. Quick Setup

  5. Directory structure

  6. Built With


---


## ℹ️ About The Project

[![personnel_app-backend](./src/assets/swagger.png)](https://personnel_app-backend.vercel.app/api-doc/)


## ℹ️ ERD
[![personnel_app-backend](./src/assets/erd.png)](https://personnel_app-backend.vercel.app/api-doc/)

(back to top)

---


## 👀 Overview

📦 Backend of the Personnelapp-frontend project for store data
🎯 Used express, dotenv, express-async-errors,token authentication, mongoose, swagger-autogen, swagger-ui-express,cors,morgan, redoc-express
🖥 MongoDb is used as db
🔩 Token authentication is used for authorization and authentication operations

🖥 Unauthorized user cant access anything.
🔩 User can Register and login as personnel!
🖥 After login, user can screen the details of the personnels and departments
🖥 For create modification operations needs a admin user and for be able to create a admin user you need to have the adminkey
🖥 All departments can have just one lead and, lead can list the personnels of the own deparment!

(back to top)


## 🛫 Quick Setup

```sh
# clone the project
git clone https://github.com/ibrsec/personnel_app-backend.git

# enter the project directory
cd personnel_app-backend

# install dependency
npm install

# develop
npm run start
```

(back to top)


## 📂 Directory structure

```diff
+ personnel_app-backend (folder)
+ |---src (folder)
| |---config (folder)
| |
| |---controllers (folder)
| |
| |---middlewares (folder)
| |
| |---helpers (folder)
| |
| |---models (folder)
| |
| └---routes (folder)
|
|----.env
|----.gitignore
|----index.js
|----package.json
|----package-lock.json
|----swagger.json
|----swaggerAutogen.js
|----sync.js
|----vercel.json
└----readme.md
```

(back to top)

---


### 🏗️ Built With






























(back to top)