Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sc5/cerebellum-urls
Cerebellum.js sample app with CRUD & authentication
https://github.com/sc5/cerebellum-urls
Last synced: 8 days ago
JSON representation
Cerebellum.js sample app with CRUD & authentication
- Host: GitHub
- URL: https://github.com/sc5/cerebellum-urls
- Owner: SC5
- Created: 2014-11-28T07:48:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-24T14:16:01.000Z (almost 9 years ago)
- Last Synced: 2024-04-13T11:21:29.582Z (7 months ago)
- Language: JavaScript
- Size: 278 KB
- Stars: 3
- Watchers: 26
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# urls
Full-blown cerebellum sample app.
Sample app running at: https://cerebellumurls.herokuapp.com/
* Create, update & delete links
* Shared GET routes
* API implemented with express & mongoose
* Authentication with Google's oAuth 2
* Loads all configuration from ENV variables or .env## get it running for development
1)
npm install
2) Define following environment variables (or use .env)
- COOKIE_SECRET
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- GOOGLE_CALLBACK_URL
- MONGO_HOST
- MONGO_PORT
- MONGO_DBNAME
- MONGO_USER
- MONGO_PASS3)
npm start