Skip to content

sarbanandabhikkhu/Vanilla-Node-REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanilla Node REST API

Full CRUD REST API using Node.js with no framework

This is for learning/experimental purposes. In most cases, you would use something like Express in a production project

# Routes
GET      /books
POST     /books
GET      /books/:id
PUT      /books/:id
DELETE   /books/:id

Usage

# Install dependencies
npm install
yarn install

# Run in develpment
npm run dev
yarn run dev

# Run in production
npm start
yarn start

Feel free to add to this and create a PR. I plan on creating a better router, but if you'd like to do that, feel free

About

Full CRUD REST API using Node.js with no framework

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors