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

https://github.com/theriturajps/contact-management-restapi

A secure REST API for managing user contacts with authentication. Users can register, log in, and perform CRUD operations on their contacts.
https://github.com/theriturajps/contact-management-restapi

authentication-backend becrypt crud-api expressjs oauth2 rest-api restapi restful

Last synced: 3 months ago
JSON representation

A secure REST API for managing user contacts with authentication. Users can register, log in, and perform CRUD operations on their contacts.

Awesome Lists containing this project

README

          

# Contact Management REST API

The **Contact Management REST API** provides a simple and secure way to manage user contacts. It allows users to **register**, **log in**, and perform various operations on their stored contacts, such as **retrieving**, **adding**, **updating**, and **deleting** contact details. This API follows RESTful principles and requires authentication for managing contacts.

## Features
- ➥ 🔒 Secure authentication system **OAuth 2.0**
- ➥ 📂 CRUD operations for managing contacts
- ➥ 🔄 RESTful API design for easy integration
- ➥ ⚡ Fast and efficient data handling
- ➥ 📡 Scalable and extendable architecture

### 🔐 Authentication

`{ENDPOINT}` **➠** `/user`

- ➽ **POST** `/login` **➠** User login
- ➽ **POST** `/signup` **➠** User registration
- ➽ **POST** `/newtoken` 🔒 **➠** Renew the access token
- ➽ **DELETE** `/delete` 🔒 **➠** Delete account from database

### 📋 Contact Management

`{ENDPOINT}` **➠** `/api/v1/contact`

`{:id}` **➠** Contact Id

- ➽ **GET** `/all` 🔒 **➠** Fetch all contact details
- ➽ **POST** `/new` 🔒 **➠** Create a new contact for user
- ➽ **DELETE** `/:id/delete` 🔒 **➠** Delete a contact
- ➽ **PATCH** `/:id` 🔒 **➠** Update a contact

---
🚀 **Secure endpoints** (🔒) require authentication.