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: over 1 year 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T12:38:18.000Z (over 3 years ago)
- Last Synced: 2025-01-05T07:30:16.404Z (over 1 year 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'
}
```