Skip to content

kevinnorris/votingApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voting App

For freeCodeCamp’s first dynamic web application projects.

Link to app

Built using ES6, React Redux front end, Chart.js for charts, Express for back end and mongodb through mongoose for data storage.

Installation

.env file

Create a .env file in the top level directory and add the following to it

GITHUB_KEY=
GITHUB_SECRET=
GOOGLE_KEY=
GOOGLE_SECRET=
MONGO_URI=
PORT=8080
APP_URL=http://localhost:8080/
JWT_SECRET=
  • Create a github app for authentication and plug in the key and secret
  • Create a google app for authentication and plug in the key and secret
  • Install mongodb locally and add the local URI or use something like mLab
  • Add a secret string to JWT_SECRET

Other required alterations

Change the userStorageString and tokenStorageString variables in client/util/localStorage.js to a custom value. Otherwise any other versions of this project will overwrite your local storage saves.

Running

You must have Nodejs installed on your machine.

  • npm install
  • npm start

License

MIT

About

First FCC Dynamic Web Application project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published