Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vicdata4/seed-server

Node API which provides token authentication and an API endpoint to seed-application. Express, Mongoose, jsonwebtoken
https://github.com/vicdata4/seed-server

Last synced: about 2 months ago
JSON representation

Node API which provides token authentication and an API endpoint to seed-application. Express, Mongoose, jsonwebtoken

Awesome Lists containing this project

README

        

# server

#### Requirements

* node v10.15.3
* npm v6.4.1

#### Dependencies

* node-express ^4.17.1
* mongoose ^5.6.9

## Run server

`git clone https://github.com/vicdata4/node_server.git`

`npm install`

`node server.js`

## Data Base config:

Create `config.js` file in `/` directory and include your config params.

Example
```
const path = require('path');

module.exports = {
url: 'db-adress',
secret: 'auth-private-key',
prefix: 'prefix-key',
publicPath: 'public-build-path',
origin: 'origin-adress'
}
```