base fastapi, discord.py && svelte project template. with <3 by yxzhin ^^
- //@TODO
- docker
- uv
- pnpm
- clone the repository:
git clone https://github.com/yxzhin/baseProjectTemplate; cd baseProjectTemplate - create python virtual environment && install the requirements:
uv venv; uv sync - copy
.env.exampleto.env&& edit the secrets with yours - install the pre-commit hooks (done only once):
uv run pre-commit install - (optional) import vscode profile:
baseProjectTemplate.code-profile
- run docker compose:
docker compose up -d - in the first powershell instance, run the server:
scripts\run-server&& go tohttp://localhost:8000/api/testto test it - in the second one, run the bot:
scripts\run-bot&& use commands/ping&&/api_testto test it - in the third one, run the client:
scripts\run-client&& go tohttp://localhost:5173/usersto test it - it works!! 🎉
- use
uv run pytestto run server && bot tests
- @Dimitrymas for some stuff
- @GrygoryZach && @GrujicFilipRS for inspiration && motivation <3