- Notifications
You must be signed in to change notification settings - Fork1
API handling ratings for gophie-web
License
NotificationsYou must be signed in to change notification settings
Go-phie/ocena
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Ocena basically means "Rating" in Polish. It is the service responsible for handling all ratings related issues for Gophie-web
# alembic autogenerate revisionalembic revision --autogenerate -m"Commit message"
- Manual
pip install -r requirements.txt uvicorn main:app --debug
- Running using Docker
Create a .env file using env.example as sample
docker-compose up
Exec into the
ocena
container run alembic to create database tablesalembic upgrade head
Visithttp://localhost:8000/docs to interact with API