For freeCodeCamp’s first dynamic web application projects.
Built using ES6, React Redux front end, Chart.js for charts, Express for back end and mongodb through mongoose for data storage.
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
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.
You must have Nodejs installed on your machine.
npm install
npm start