Skip to content

bradtraversy/restify_customer_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restify Customer API

RESTful API built with Node.js, Restify, Mongoose and JWT. It uses 'jsonwebtoken' to create the token and restify-jwt-community to protect routes.

Quick Start

# Install dependencies
npm install

# Serve on localhost:3000
npm start

API Endpoints

Customer Routes

  • GET /customers
  • GET /customers/:id
  • POST (Protected) /customers
  • PUT (Protected) /customers/:id
  • DELETE (Protected) /customers/:id

User Routes

  • POST /register
  • POST /auth

App Info

Author

Brad Traversy Traversy Media

Version

1.0.0

License

This project is licensed under the MIT License

About

Customers API built with Restify & Mongoose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published