You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<imgsrc="https://camo.githubusercontent.com/59eab954a267c6e9ff1d80e8055de43a0ad771f5e1f3779aef99d111f20bee40/687474703a2f2f7777772e6d7970792d6c616e672e6f72672f7374617469632f6d7970795f62616467652e737667"alt="check with mypy"style="max-width:100%;">
26
+
</a>
27
+
</div>
28
+
29
+
<br>
3
30
4
31
This is a template repository aimed to kick start your project with a setup from a real-world application! This template utilizes the following tech-stack:
5
32
@@ -63,7 +90,7 @@ For the backend application:
63
90
* API endpoints for `Account` signup and signin in `backend/src/api/routes/authentication.py`.
64
91
* API endpoints for `Account` get all, get 1, update, and delete in `backend/src/api/routes/account.py`.
65
92
* API endpoints registration file in `backend/src/api/endpoints`.
66
-
*Password hashing, JWT for authorization, and simple verification functions in `backend/src/securities/**`.
93
+
*Hashing and JWT generators and simple verification functions in `backend/src/securities/**`.
67
94
* Helper functions, string messages, and error handling in `backend/src/utilities/**`.
68
95
* A comprehensive FastAPI application initialization in `backend/src/main.py`.
69
96
@@ -76,16 +103,18 @@ For the DevOps:
76
103
* A simple linting job called `code-style` with black, isort, flake8, and mypy in `.github/workflows/ci-backend.yaml`.
77
104
* An automated testing with `PyTest` and an automated test reporting with `Codecov` in in `.github/workflows/ci-backend.yaml`.
78
105
* A source code responsibility distribution file in `.github/CODEOWNERS` (Please change the username into your own).
79
-
* A `YAML` file for an automated semantic commit message.
106
+
* A `YAML` file for an automated semantic commit message in `.github/workflows/ci-backend.yaml`.
107
+
* An automated test report monitoring via `Codecov` in `codecov.yaml`
108
+
* A CI for automatically updating all linter version in the pre-commit `YAML` file in `.pre-commit-config.YAML`.
80
109
81
110
For containerization:
82
111
* A `Docker` configuration that utilizes the latest Python image in `backend/Dockerfile`.
83
112
* A script that ensure the backend application will restart when postgres image hasn't started yet in `backend/entrypoint.sh`.
84
113
* Setting up `Postgres` image for our database server, `Adminer` for our database editor, and `backend_app` for our backend application's container in `docker-compose.yaml`.
85
114
86
115
For the team development environment:
87
-
* A pre-commit hooks for `Black`, `Isort`, and `MyPy` to ensure the conventional commit message before pushing an updated code into the remote repository.
88
-
* All secret variables are listed in `.env.example`.
116
+
* A pre-commit hooks for `Black`, `Isort`, and `MyPy` to ensure the conventional commit message before pushing an updated code into the remote repository in `.pre-commit-config.YAML`.
117
+
* All secret variables are listed in `.env.example`. You need to copy these variables and set the values respectively to yoour need and save them in a new `.env` in the the root directory.
0 commit comments