https://github.com/dfirebaugh/voting-app
a universal javascript application for voting on topics
https://github.com/dfirebaugh/voting-app
Last synced: 8 months ago
JSON representation
a universal javascript application for voting on topics
- Host: GitHub
- URL: https://github.com/dfirebaugh/voting-app
- Owner: dfirebaugh
- License: mit
- Created: 2018-05-22T07:03:09.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T04:46:16.000Z (over 7 years ago)
- Last Synced: 2024-12-27T19:30:01.843Z (over 1 year ago)
- Language: JavaScript
- Size: 410 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Voting-App
This is a simple Universal Javascript application for voting on topics.
### Project setup:
* Download [docker](https://www.docker.com/get-started) to run this project.
* create a `.env` to store environmental variables:
> GITHUB_KEY=
>
> GITHUB_SECRET=
>
> MONGO_URI=mongodb://database:27017/dbname
>
> PORT=8080
>
> APP_URL=http://localhost:8080/
You will need to setup an oauth token with [github](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/)
* Run `docker-compose up` to build the containers
[demo](https://voting-app-df.herokuapp.com/)