Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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.