Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adnanrahic/nodejs-restful-api
How to create a RESTful CRUD API using Nodejs?
https://github.com/adnanrahic/nodejs-restful-api
api database express mongodb mongoose nodejs rest tutorial
Last synced: 9 days ago
JSON representation
How to create a RESTful CRUD API using Nodejs?
- Host: GitHub
- URL: https://github.com/adnanrahic/nodejs-restful-api
- Owner: adnanrahic
- Created: 2017-02-26T13:40:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-10T14:16:01.000Z (about 1 year ago)
- Last Synced: 2024-10-19T01:59:42.472Z (21 days ago)
- Topics: api, database, express, mongodb, mongoose, nodejs, rest, tutorial
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 327
- Watchers: 16
- Forks: 166
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodejs-restful-api
![RESTful API design with Node.js](https://cdn-images-1.medium.com/max/2000/1*jjYC9tuf4C3HkHCP5PcKTA.jpeg "RESTful API design with Node.js")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 User 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.Full tutorial can be found at:
https://hackernoon.com/restful-api-design-with-node-js-26ccf66eab09#.s5l66zyeu