A website that allows users to track all the media that they have either already consumed or plan to consume across media formats.
- git clone https://github.com/EMachin3/Trackrr.git
- Set up a Postgres database on your local machine (you could also edit the code in app.py to access a remote database)
- Set the DB_USERNAME, DB_PASSWORD, and DB_NAME environment variables.
- While you're at it, set FLASK_SECRET_KEY to be something random (I use os.urandom(24) from the Python library). Also, set the TEST_USER_PASSWORD to be the bcrypt hash for your password generated using passlib.
- cd backend
- python -m venv .venv
- . .venv/bin/activate (if on Mac or Linux) or .venv\Scripts\activate (if on Windows)
- pip install -r requirements.txt
- python init_db.py
- cd ../frontend
- Install npm
- npm install
- Add needed images to public (not uploading them to repo because unsure about copyright)
Backend: flask run or flask run --debug
Frontend: npm start or DANGEROUSLY_DISABLE_HOST_CHECK=true npm start
Visit localhost:3000 and sign in with a username of test and your password.