Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homeProjectCodeSherpas

# install dependencies
$ npm install

Alternatively, you can simply run through Postman with: https://crm-codesherpas.herokuapp.com/api/<following_endpoints>

ADMIN Endpoints

METHOD ENDPOINT TOKEN ROLE DESCRIPTION POST PARAMS RETURNS
POST /customers - - Create a new customer name, surname, email and birth_date {customer}
GET /customers/:id - - Get a single customer customer_id {customer}
GET /customers - - Get all customers - [{customers}]
PUT /customers/:id - - Update all the attributes name, surname, email and birth_date {customer}
DELETE /customers/:id - - Delete an existing customer customer_id "This customer, ${customer.name}, has been deleted"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages