nodejs-voting-app
nodejs-voting-app copied to clipboard
A web application where users can log in, create polls, and vote on polls other users have created.
Node.js 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.
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 createheroku addons:create mongolabgit push heroku masterheroku open
Built With
- generator-angular-fullstack (An old version) - Used to scaffold the app
- MongoDB - The database
- ExpressJS - Fast, unopinionated, minimalist web framework for Node.js
- AngularJS - The front end framework
- Node.js - The back end run-time