This application allows you to search for bars in an area and RSVP.
Features:
-
As an unauthenticated user, I can view all bars in my area.
-
As an authenticated user, I can add myself to a bar to indicate I am going there tonight.
-
As an authenticated user, I can remove myself from a bar if I no longer want to go there.
-
As an unauthenticated user, when I login I should not have to search again.
You must have the following installed:
Pleas register the application with Twitter (https://apps.twitter.com) and get API keys / secrets.
Create a file named .env
in the root directory. This file should contain:
TWITTER_KEY=your-twitter-key-here
TWITTER_SECRET=your-twitter-secret-here
YELP_CONSUMER_KEY=your-yelp-consumer-key
YELP_CONSUMER_SECRET=your-yelp-consumer-secret
YELP_TOKEN=your-yelp-token
YELP_TOKEN_SECRET=your-yelp-token-secret
MONGO_URI=mongodb://localhost:27017/nightlife-coordination
APP_URL=https://nightlife-coordination-pytong.c9.io/
PORT=8080
To start the app, make sure you're in the project directory and type node server.js
into the terminal. This will start the Node server and connect to MongoDB.
You should the following messages within the terminal window:
Node.js listening on port 8080...
Next, open your browser and enter http://localhost:8080/
. Congrats, you're up and running!
MIT License. Click here for more information.