An open API service indexing awesome lists of open source software.

https://github.com/nitor-infotech-oss/nodejs-restful-api

Do you know How to create a RESTful CRUD API using Nodejs? This tutorial will demo how to set up a bare bones API using mongodb as the database.
https://github.com/nitor-infotech-oss/nodejs-restful-api

Last synced: 7 months ago
JSON representation

Do you know How to create a RESTful CRUD API using Nodejs? This tutorial will demo how to set up a bare bones API using mongodb as the database.

Awesome Lists containing this project

README

          

# nodejs-restful-api

Do you know How to create a RESTful CRUD API using Nodejs?

This tutorial will demo how to set up a bare bones
API using mongodb as the database.

It consist of a Customer model and controller. The model
defines the data, and the controller will contain all
the business logic needed to interact with the database.

It has a db file which will be used to
connect the app to the database, and an app file used
for bootstrapping the application itself.

The server file is used to spin up the server and tells the
app to listen on a specific port.