Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 1.46 KB

README.md

File metadata and controls

53 lines (29 loc) · 1.46 KB

Node.js FreeCodeCamp Voting App

A web application where users can log in, create polls, and vote on polls other users have created. Includes social logins using Twitter and Facebook.

Freecodecamp basejump: https://www.freecodecamp.org/challenges/build-a-voting-app

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • MongoDB
  • NPM/Node.js

Installing & Running

Install dependencies

npm install

Run the application

npm start starts the node server, then open the localhost site specified in the output in a web browser.

Running the tests

npm test

Deployment

This project is currently set up to deploy with Heroku.

Deployment to Heroku requires a Heroku account and the heroku command line tools installed.

The steps are as follows:

  • heroku create
  • heroku addons:create mongolab
  • git push heroku master
  • heroku open

Built With