Skip to content

A basic rest api using Expressjs, Express Validator and Sequelize.

License

Notifications You must be signed in to change notification settings

ravener/nodejs-restapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js REST API

A basic rest api using Expressjs, Express Validator and Sequelize.

Setup

Copy .env.example to .env and fill in the fields as needed.

$ npm install
$ node app.js

Endpoints:

GET /users
GET /users/:id
POST /users
PUT /users/:id
DELETE /users/:id

POST body for creating is { "name": "some name", "age": 17, "email": "email@gmail.com" } All fields optional except for name, When updating with put all fields are optional.

License

Released under the MIT License

About

A basic rest api using Expressjs, Express Validator and Sequelize.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published