Skip to content

Latest commit

 

History

History
66 lines (54 loc) · 1.21 KB

README.md

File metadata and controls

66 lines (54 loc) · 1.21 KB

Cmail Back End

Coverage Status Maintainability CircleCI

Seja bem vindo ao back-end do Cmail :)

API

http://localhost:3200/

Response formats: JSON

Endpoints

Users /users:

Accepts:
- GET
- POST

{
    name: '',
    username: '',
    phone: '',
    password: '',
    avatar: ''
}

Parameters

users/validation/:username

Accepts:
- GET

user/:userId

Accepts:
- GET
- PATCH

Login /login:

Accepts:
- POST

{
    email: '',
    password: ''
}

Email /emails:

Headers: authorization

Accepts:
- POST
- GET

{
    to: '',
    subject: '',
    content: ''
}

Parameters emails/:emailId:

Accepts:
- DELETE