Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laststonedjs/rest-api
Node.js REST API backend application with configured cloud MongoDB, Express,js, Mongoose and a lot of other things. CRUD operations and their implementation are the essence of this project, as well as the creation of models, controllers and routes in order to display, change and delete our data from the database.
https://github.com/laststonedjs/rest-api
cors crud expressjs mongodb mongoose nodejs nodemon rest-api
Last synced: 9 days ago
JSON representation
Node.js REST API backend application with configured cloud MongoDB, Express,js, Mongoose and a lot of other things. CRUD operations and their implementation are the essence of this project, as well as the creation of models, controllers and routes in order to display, change and delete our data from the database.
- Host: GitHub
- URL: https://github.com/laststonedjs/rest-api
- Owner: laststonedjs
- Created: 2023-04-06T21:30:30.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-07T10:44:55.000Z (almost 2 years ago)
- Last Synced: 2024-11-14T10:41:09.461Z (2 months ago)
- Topics: cors, crud, expressjs, mongodb, mongoose, nodejs, nodemon, rest-api
- Language: JavaScript
- Homepage:
- Size: 118 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Create a REST API with Node.js and MongoDB
## Instructions
After cloning into repo, cd to project root directory and install dependencies:```
$ npm install
```To run server:
```
$ npm start
```After that should get response message in the console where are our "Server is successfully running..", something like:
```
[nodemon] restarting due to changes...
[nodemon] starting `node app.js`
Server is running on port 4000
```## Overview
```js
A solid REST API is the foundation of virtually every modern web app, service and data-driven company/startup.
From large multi-national corporation to small startup, the core tenets of a well-designed REST API are the same
and can be learned in relatively short period of time. In this case, I construct a simple REST API
using Node/Express, MongoDB. Along the way, we explore the key principles behind REST API design as well as common
mistakes and scenarios that developers often struggle with.
```