Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vicdata4/seed-server
- Owner: vicdata4
- Created: 2019-08-15T15:17:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T12:38:18.000Z (about 2 years ago)
- Last Synced: 2024-11-09T18:45:40.560Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.37 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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'
}
```