- python 3.10.x
- Create a virtual environment
- Activate the virtual environment
- Install dependencies
- Run the application
python -m venv venv
source venv/bin/activate
venv\Scripts\activate
python -m pip install -r requirements.txt
python -m uvicorn app.main:app --host 0.0.0.0 --port 3000 --reload
optional: use Docker to run this project
docker-compose up
SECRET_KEY = "YourSecretKey"
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 30
ORIGINS = "http://localhost,http://localhost:3000,http://localhost:3000/*"
feat: (new feature for the user, not a new feature for build script)
fix: (bug fix for the user, not a fix to a build script)
docs: (changes to the documentation)
style: (formatting, missing semi colons, etc; no production code change)
refactor: (refactoring production code, eg. renaming a variable)
test: (adding missing tests, refactoring tests; no production code change)
chore: (updating grunt tasks etc; no production code change)