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.
- Host: GitHub
- URL: https://github.com/theriturajps/contact-management-restapi
- Owner: theriturajps
- Created: 2025-02-15T06:38:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-02T15:39:27.000Z (over 1 year ago)
- Last Synced: 2025-05-21T09:11:40.947Z (about 1 year ago)
- Topics: authentication-backend, becrypt, crud-api, expressjs, oauth2, rest-api, restapi, restful
- Language: JavaScript
- Homepage:
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.