- https://cmput401.ca/projects/a3bc8e93-1275-434e-9e88-f4af38bb276c
- https://ualberta-cmput401.github.io/ai4buzz/
- Base url: http://[2605:fd00:4:1001:f816:3eff:fe26:70dd]
- Docs: http://[2605:fd00:4:1001:f816:3eff:fe26:70dd]/docs
- Url: http://[2605:fd00:4:1001:f816:3eff:fe67:1ff9]
- Python 3.9
- Yarn and Nodejs
- clone the repo
cd
into theapi
directory- generate virtual environment with
python3 -m venv env
- activate virtual env with
source env/bin/activate
- install requirements with
pip install -r requirements.txt
- run app with
uvicorn api.main:app --reload
- clone the repo if you haven't already
cd
intofrontend
directory- use
yarn start
to start app locally
- Endpoint test API:
pytest api/tests/test_endpoints.py
- Unit test models:
python -m unittest discover -p "*__test.py"
- snap shot test:
yarn test
https://drive.google.com/file/d/1Gijqd3WXwUsRNdpM-ITVAIPL44Fg5tlj/view?usp=sharing