Skip to content

nihalwasheretoo/restify-customer-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Nihal Kaul

Version

1.0.0

License

This project is licensed under the MIT License

About

RESTful API built with Node.js, Restify, Mongoose and JWT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors