Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/siopipin/restapicrud
Aplikasi restapi untuk operasi CRUD | Menggunakan Nodejs, Express, Mongoose, dan Docker
https://github.com/siopipin/restapicrud
docker express javascript mongoose nodejs
Last synced: 21 days ago
JSON representation
Aplikasi restapi untuk operasi CRUD | Menggunakan Nodejs, Express, Mongoose, dan Docker
- Host: GitHub
- URL: https://github.com/siopipin/restapicrud
- Owner: siopipin
- Created: 2019-06-08T02:55:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T17:36:10.000Z (about 2 years ago)
- Last Synced: 2024-11-10T15:26:38.245Z (3 months ago)
- Topics: docker, express, javascript, mongoose, nodejs
- Language: JavaScript
- Size: 176 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
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.