Skip to content

sergiomgaspar/smg-nightlife

Repository files navigation

FCC Nightlife Coordination App

FCC Nightlife Coordination App is a fullstack JavaScript app to implement an where a user can use to coordenate events with friends identifying all the places he/she will go that night.

This app uses the Yelp API to identify local venues and provide links and reviews

APP description

Below is a list of use cases.

  • Use-case 1: As an unauthenticated user, I can view all bars in my area.
  • Use-case 2: As an authenticated user, I can add myself to a bar to indicate I am going there tonight.
  • Use-case 3: As an authenticated user, I can remove myself from a bar if I no longer want to go there.
  • Use-case 4: As an unauthenticated user, when I login I should not have to search again.

Local Installation

You'll need to have the latest verison of node.js installed. Either use your OS's package manager or follow the installation instructions on the official website.

Next, install git if it is not already installed. To clone this repository to your local machine, open a command line interface and navigate to your projects directory.

You will also need Gulp (npm install --global gulp) and MongoDB. Then type:

$ git clone https://github.com/sergiomgaspar/smg-nightlife.git

Move to the smg-nightlife subdirectory and type npm install. This installs all of the APP dependencies.

Finally, type gulp serve to start the application. If all goes well, it will be available at http://localhost:3000.

To deploy a "production-ready" version of the app type gulp build and deploy the contents of the "dist" folder.

IMPORTANT

This node app uses MongoDB (free mongoLab instance). The user/password are not correct and you will not be able to logon. Create your instance in mongoLab and allways define the user and password and environment variables (never leave them inside code commited in gitHub!!!).

Technologies used

In the about section of the page the used technologies are listed and described

License

CC0

To the extent possible under law, the author has waived all copyright and related or neighboring rights to this work.