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

https://github.com/ibrsec/contacts2-express

Backend of the Contacts App
https://github.com/ibrsec/contacts2-express

express jwt mongodb

Last synced: 2 months ago
JSON representation

Backend of the Contacts App

Awesome Lists containing this project

README

          








Logo

Contacts app Backend


An awesome Backend project of Contacts





Frontend Repo
ยท
Frontend Live
ยท
Report Bug
ยท
Request Feature


๐Ÿ“Ž Table of Contents ๐Ÿ“Ž


  1. About The Project


  2. Overview

  3. Quick Setup

  4. Directory structure

  5. Built With


---


## โ„น๏ธ About The Project

ERD:
[![contacts-app-erd](./contactsErd.png)](https://contacts-react-express.vercel.app/)
---

(back to top)

---


## ๐Ÿ‘€ Overview

๐Ÿ“ฆ A Backend of Contacts App Project
๐Ÿ€ [Frontend Repo](https://github.com/ibrsec/contacts-react)

๐ŸŽฏ Express.js Framework: Developed a secure and efficient RESTful API with Express.js for managing user and contact data.

๐Ÿ”’ Authentication & Authorization: Utilized bcrypt for password hashing and JWT for secure user authentication and authorization.

๐Ÿ“Š Database Management: Leveraged MongoDB and Mongoose for effective data modeling, validation, and querying of user and contact information.

๐Ÿ”„ CRUD Operations: Implemented full CRUD functionality for managing users and their associated contacts, ensuring seamless data operations.

๐Ÿ›  Middleware & Error Handling: Created custom middleware for input validation, CORS handling, and consistent error management throughout the API.

๐ŸŒ Scalable Deployment: Prepared for deployment on Vercel to ensure high availability and scalability.

(back to top)


## ๐Ÿ›ซ Quick Setup

```sh
# clone the project
git clone https://github.com/ibrsec/contacts2-express.git

# enter the project directory
cd contacts2-express

# install dependency
npm install

# develop
npm run start

```

(back to top)


## ๐Ÿ“‚ Directory structure

```diff
+ contacts2-express (folder)

|---config (folder)
|
|---controllers (folder)
|
|---middleware (folder)
|
|---models (folder)
|
|---router (folder)
|
|----.env
|----.gitignore
|----index.js
|----contants.js
|----package.json
|----vercel.json
โ””----readme.md
```

(back to top)

---


### ๐Ÿ—๏ธ Built With