Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jatin-pandey01/contacto

Contacto is a contact api backend application
https://github.com/jatin-pandey01/contacto

bcrypt cookie-parser cookies cors express-middleware expressjs jsonwebtoken mongo mongodb-atlas mongoose nodejs

Last synced: 22 days ago
JSON representation

Contacto is a contact api backend application

Awesome Lists containing this project

README

        

Contacto :


A backend application used to add contact in user list.

There are 6 Api, 3 for authentication and 3 for contact. Also there is middleware which will verify the user.

## `Authentication APIs : `

### `Register Api`
Register : https://contacto-xb2c.onrender.com/api/v1/auth/register , it is a Post api and need `name`, `email` and `password` in the body.

### `Login Api`
Login : https://contacto-xb2c.onrender.com/api/v1/auth/login , it is a Post api and need `email` and `password` in the body.

### `User Api`
User : https://contacto-xb2c.onrender.com/api/v1/auth/user , it is a Get api and return user details through middleware.

## `Contact APIs : `

### `Create contact Api`
Create : https://contacto-xb2c.onrender.com/api/v1/contact/create , it is a Post api and need `name` and `email` are required, whereas `email`, `linkedin` and `twitter` is optional in the body.

### `Edit contact Api`
Edit : https://contacto-xb2c.onrender.com/api/v1/contact/edit , it is a Patch api and need `name` is required, whereas `email`, `linkedin` and `twitter` is optional which user can edit in the body.

### `Search contact Api`
Search : https://contacto-xb2c.onrender.com/api/v1/contact/search , it is a Get api and need `contactName` in the body which will search all the name related contact name and return all the data which contact this name.