This was made for the 2nd TechWithTim CodeJam, Discord name: salt#3014
This project is a platform made for students to get help on homework and assignments. Students can share questions, answer questions, and give feedback.
Go to hw.satvikreddy.com to check it out.
NOTE: Github shows that this repo has two contributers, which it doesn't. (See this link). I assume the second contributer is dependabot. Dependabot DOES NOT add any code, dependabot only updates outdated dependencies.
- Clone the repo
- Once inside the repo's root directory, run
yarn install
- Create a
.env.development
file in the/packages/api
directory, and set 4 variables
DB_URI=<mongodb connection string, ex. mongodb://localhost:27017/cluster0>
REDIS_URL=<redis connection string, ex. redis://localhost:6379/>
ACCESS_TOKEN_SECRET=<a random string of characters>
REFRESH_TOKEN_SECRET=<a different random string of characters>
ACCESS_KEY=<AWS IAM access key>
SECRET_KEY=<AWS IAM secret key>
REGION=<AWS S3 Bucket region>
- Create a
.env.local
file in the/packages/web
directory, and set 1 variable
NEXT_PUBLIC_API_URL=<api url, if running on default ports use http://localhost:8000>
- Go back to the root directory of the repo in your terminal and run
yarn dev
. - Go to http://localhost:3000 in your browser to view the app running, http://localhost:8000 for the api.