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

https://github.com/nsnick/example-api-server


https://github.com/nsnick/example-api-server

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# example api server in nodejs

create a file called config.js and add the following

```javascript
module.exports = {
'secret': 'bestsessiontokensecretever',
'database': 'path/to/mongo/database',
'postDelayInSeconds': 180, //3 minute
'commentDelayInSeconds': 60
};
```

npm start