The go-to place for all your college needs. From course notes and previous exams to grades and feeding schedules.
See college-resources/api for the API of this website.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
-
NodeJS 14.X (Recommended version: NodeJS 14.16.0 x64)
Navigate to the folder where you want the project to be saved and run the following command:
git clone https://github.com/college-resources/web.git
-
Navigate to the root of the project.
-
(Linux) Run
nvm use
. -
Run
npm install
. -
Create a
.env
file in the root of the project and add the following details:
AUTH0_DOMAIN=<YOUR_AUTH0_DOMAIN>
AUTH0_CLIENT_ID=<YOUR_AUTH0_CLIENT_SECRET>
AUTH0_CLIENT_SECRET=<YOUR_AUTH0_CLIENT_SECRET>
AUTH0_AUDIENCE=<YOUR_AUTH0_AUDIENCE>
AUTH0_SCOPE=openid email profile offline_access
AUTH0_REALM=<YOUR_AUTH0_REALM>
API_ADDRESS=<COLLEGE_RESOURCES_API_ADDRESS>
-
In the root of the project run
npm run dev
. -
Wait for it to compile and click the
http://localhost:3000
link when it appears.
- In the root of the project run
npm run build
npm start
- When the server starts, go to
http://localhost:3000