Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gparasyris/back-end-nodejs
Simple Node JS Express server handling POST, GET, PUT, DELETE requests.
https://github.com/gparasyris/back-end-nodejs
api express javascript nodejs postman
Last synced: about 1 month ago
JSON representation
Simple Node JS Express server handling POST, GET, PUT, DELETE requests.
- Host: GitHub
- URL: https://github.com/gparasyris/back-end-nodejs
- Owner: gparasyris
- Created: 2018-04-06T01:50:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T15:24:17.000Z (over 6 years ago)
- Last Synced: 2024-10-15T16:41:17.188Z (3 months ago)
- Topics: api, express, javascript, nodejs, postman
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Description ###
Simple Node JS Express server handling `POST`, `GET`, `PUT`, `DELETE` requests on 'user' objects.
#### User Schema ####
```
var UserSchema = new Schema({
firstName: String,
lastName: String,
location: String,
email: String,
facebookId: String,
});```
### How to use ###
1. `mongod`, verify that mongod is running.
2. `npm i`, install the node_modules needed for the server to run.
3. `node server.js`, deploy the server (port 8008 is default, in case env is missing).
4. Check the `Demo_User_Api.postman_collection` (probably import it in Postman) to send requests to the server.