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
npm install
- 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_PASS
npm start