Discoplaces
Places of interest discovery and ranking for your team.
Dependencies
Node dependencies can be installed with npm install. Discoplaces also
depends on these services:
Configuration
Discoplaces is configured through environment variables, or by a
config.json file in the same directory as app.js.
NODE_ENV: Run inproductionordevelopmentmode. Defaultdevelopment.SESSION_SECRET: Secret key for stored sessions. Default "keyboard cat".REDIS_URLorREDISCLOUD_URL: Redis connection URL. Defaultredis://localhost:6379.MONGODB_URIorMONGOLAB_URI: MongoDB connection URI. Defaultmongodb://localhost/discoplaces.ROOT_URL: Root URL Discoplaces will be available at. Used for OAuth callback URL. Defaulthttp://localhost:8080.AUTHORIZED_DOMAIN: Domain emails must be from in order to log in. Defaultgmail.com.GOOGLE_CLIENT_ID: Google OAuth 2.0 client ID.GOOGLE_CLIENT_SECRET: Google OAuth 2.0 client secret.
Google OAuth 2.0 credentials can be obtained through the Google
Developers Console by creating a
new project, then creating a client ID under "APIs & auth",
"Credentials". The redirect URIs should be set to the Discohands root
URL /auth/google/callback.
Development
node app
Google OAuth 2.0 credentials are required in development.
http://localhost/auth/google/callback can be configured as a valid
redirect URI in Google Developers Console.
Deployment
Discoplaces can easily be deployed to Heroku with Redis Cloud and MongoLab.
License
Copyright © 2014 Busbud, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Log in or sign up for Devpost to join the conversation.