c641ddd47d5d16318ea096ff98d4004b1183ba7b
- Wrote tests for database migrations and populate with test data
Todo API
Frontend
Development dependencies
prettier: Formatter
Backend
Development workflow
- Run
eval (pdm venv activate in-project)(if you are using Fish shell) oreval $(pdm venv activate in-project)(if you are using bash/zsh) at thebackendfolder root.
Dependencies
Python dependencies
quart: a micro-webframework, async version of Flask.black: Code formatter.isort: Import formatter.mypy: Type checking.flake8: General Python bugs.vulture: Find unused code in Python programs.pytest: For testing (turbocharged withasync).bcrypt: Hashing and salting password.zxcvbn: Test password strength.freezegun: Check for expired token.quart-rate-limiter: Rate limiting.pydanticandquart-schema: Request/Response validation.httpx: send HTTP POST requests from our app.
SQL Dev-deps
bandit: Check for SQL injection vulnerabilities.
Miscs Dev-deps
djhtml: Generate jinja templates html for emails.
Backend Technical Write-up
Difference between database schema and database model
- A schema defines the structure of data within the database.
- A model is a class that can be represented as rows in the database, i.e ID row, age row as class member.
Description
Languages
TypeScript
54.3%
Python
38.1%
HTML
4.1%
Dockerfile
1.2%
CSS
1.1%
Other
1.2%