-
docker compose up
-
frontend at: localhost:3000
-
backend at: localhost:8000
-
backend interactive docs at: localhost:8000/docs or localhost:8000/redoc
-
Login for admin
- username: bestAdmin
- password: password
- backend/src/app/auth/crud.py
- backend/src/app/auth/routes.py
- backend/src/app/auth/schemas.py
- backend/src/app/auth/utils.py
- backend/src/app/dependencies.py
- backend/src/app/main.py
- backend/src/ultrastar_file_parser/parser.py
- backend/src/ultrastar_file_parser/schemas.py
- frontend/src/lib/Login.svelte
The following section lists sources that were used to create this code, but whose exact impact can't be traced
-
Async Database
- [GitHub] FastAPI issues: Add documentation about how to use the async tools (session, etc)
- [YT] Building a REST API with FastAPI, Async SQLModel, and PostgreSQL by Ssali Jonathan
- Async Database Operations with SQLModel by Arunansho Biswas
- Mastering FastAPI CRUD Operations with Async SqlAlchemy and PostgreSQL by MyFadyGame
-
Bootstrap
-
Cookies
- [GitHub] FastAPI Token Cookie Authentication
- [GitHub] Sveltekit issues: Cookies not sent with server side fetch to same origin
- [Stack Overflow] FastAPI is not returning cookies to React frontend
- [Stack Overflow] How to get the cookies from an HTTP request using FastAPI?
- [Stack Overflow] How to set cookies with FastAPI for cross-origin requests
-
Docker
-
FastAPI
- [GitHub] Full Stack FastAPI Template
- [YT] FastAPI - Complete Course for Python API Development by BugBytes
- [YT] How To Create a Python API With FastAPI - Full Tutorial by Tech With Tim
- [YT] Introduction And Project Set Up - FastAPI Beyond CRUD by Ssali Jonathan
- [YT] Quickly Authenticate Users with FastAPI and Token Authentication by Akamai Developer
- FastAPI official advanced tutorial
- FastAPI official tutorial
-
JavaScript
-
Logging
-
SQLModel
-
Svelte/ Sveltekit
- [GitHub] Sveltekit handleFetch example
- [YT] LOGIN by Consulting Ninja
- [YT] Svelte | [authentication] using JWT , Cookies and Hooks.server!! by Consulting Ninja
- [YT] Svelte Tutorial for Beginners by Net Ninja
- [YT] SvelteKit by Consulting Ninja
- [YT] Sveltekit Crash Course by Net Ninja
- Svelte Docs
- Svelte interactive tutorial
- Sveltekit Docs
-
Testing
- routes/+layout.svelte => bootstrap/examples/navbar-fixed
- lib/Login.svelte => bootstrap/examples/heroes
- routes/settings/+page.svelte => bootstrap/examples/Cheatsheet
- bootstrap/examples/modals