Votaholic
Votaholic allows you connect with your audience by allowing users create polls and users can vote on polls.
Votaholic is a FreeCodeCamp Project.
Feature List
- Create as many polls as you like.
- Vote on polls (user can only vote once per poll; based on user IP address).
- Displays all polls on the app.
- View details of a poll.
- View all the polls you have created.
- Authenticated user can create a custom option on a poll
- Signup, Login and Logout of the app.
Getting Started
Votaholic is hosted on heroku and can be accessed here:
Prerequisites
These are what you need installed on your computer to use the application:
- Web Browser (Chrome, or Mozilla, or Safari, or Opera, or Microsoft Edge )
For Developerss:
Setup
Local Copy
To create a local copy, run the following in your terminal:
git clone https://github.com/ajibs/votaholic.git
Then change into the local directory, run the following in your terminal:
cd votaholic
Install Node.js and Yarn
If you don't have Node.js installed, please go ahead and grab it here.
Yarn is a package manager for Node.js and can be installed from here.
To confirm that you have Node.js installed, run the following in your terminal:
node -v
You should get something like v8.9.1
.
To confirm that you have Yarn installed, run the following in your terminal:
yarn -v
You should get something like 1.3.2
.
Setup Database and .env file
You can setup a database on mlab. You should also create a .env
file using .env.sample
as a prototype.
Install Node.js Modules
To install all dependencies, run the following in your terminal:
yarn
Development
To kickstart the application, run the following in your terminal:
node server.js
Built With
- Git - Version Control
- Node.js - JS Runtime Environment
- Yarn - Package Manager
- Express - Web Framework
- EJS - Templating Engine
- mLab - Database
- Heroku - Hosting and Continuous Deployment
- VS Code - Code Editor
- Chrome - Browser
Author
Acknowledgments
- FreeCodeCamp
- Chingu
- Red Pandas
- Developer Community
- Family
- Friends