This repository is the home for the frontend code of the 2022 Knight Hacks Hackathon Website.
https://github.com/KnightHacks/hackathon-2022.git
cd hackathon-2022
npm install
Create a .env file declaring the REACT_APP_API_ENDPOINT and REACT_APP_OAUTH_AUTH_REDIRECT variables.
REACT_APP_API_ENDPOINT is the url pointing to the backend you are using.
REACT_APP_OAUTH_AUTH_REDIRECT is the url that your application should return to after completing Github oAuth.
Example:
.env
REACT_APP_API_ENDPOINT=http://localhost:4000
REACT_APP_OAUTH_AUTH_REDIRECT=http://localhost:3000/auth_redirect
To run a live development server, run the following in a terminal:
npm run start
This will host the website at http://localhost:3000. As you make updates to the code, the development server will automatically reload the page.