Part of the course on Udemy - "The Complete React Web Developer Course" - I highly recommend it if you want to learn how to React. It's a bit on the newbie side of things as far as web development goes, but you may skip through the whole GitHub/CSS/Heroku part.
-
The application uses Firebase to store data so make sure you create a Firebase project and database
-
Users authenticate using their Github account. To allow Github authentication you must first follow these steps:
- Create a Github application by going to your Github profile and, on the "Developer settings" -> "Oauth applications" click on the "New Oauth App" button
- On Firebase go to the "Develop" -> "Authentication" tab in your project console and enable the Github authentication. Provide the Client ID and Client Secret for the Github application created above
- From the same popup as above copy the "Authorization callback URL" from Firebase and paste it into the Github OAuth application you just created
- Clone the repository
- Run
npm install
- Create the environment variables to connect to Firebase. On Linux / Mac just fill in the attached
.environment.model
file and then do asource .environment.model
to load them. On Windows just create the variables using whatever method windows users use. To get the values for these variables go to your Firebase project console then click the big "Add Firebase to your web app" button. You'll get a popup with some code that initializes the variables, you just need to get the values. - Run
npm run-script build && npm start
- Go to your browser at http://localhost:3000 and enjoy