A simple web app for keeping track of job applications
N.B. All commands for working with the backend API should be done within the backend directory in the root of the repository.
- PyEnv ((github)[https://github.com/pyenv/pyenv])
brew install pyenv
- Python >= 3.9.18 (website)
- pipx (github)
brew install pipx pipx ensurepath
- Poe >= 0.25.0 (github)
pipx install poethepoet
- Poetry >= 1.1.14 (website)
pipx install poetry
- DBMate >= 2.6.0 (DBMate)
brew install dbmate
pyenv install 3.9.18
pyenv local 3.9.18
poetry shell
copy the output from /Users/...
to .../virtualenvs/backend-21K18sx5-py3.12
to your VSCode python interpreter
cmd p
>Python: Select Interpreter
poetry install
poe dbmate up
poe format
poe lint
poe lint_fix
poe type_check
poe pretty
First time
cd ../backend; poe openapi
cd ../api-client; npm install
cd ../frontend; npm install ../api-client
Second time onwards
cd ../backend; poe openapi
cd ../frontend; npm install ../api-client
poe dbmate new [MIGRATION_NAME]
poetry add <dependency-name>
docker build .
poe run serve
N.B. All commands for working with the frontend web app should be done within the frontend directory in the root of the repository.
This app was created using @capacitor/create-app
,
and comes with a very minimal shell for building an app.
npm install
npm start