Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/backend/backend_python/directory-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The entry point for the backend is in `main.py`, which initializes the databases and handles the startup and shutdown for the FastAPI server.

The code for the application mainly lies in the `app/` directory the heirarchy of which looks like this:
The code for the application mainly lies in the `app/` directory the hierarchy of which looks like this:

```bash
.
Expand All @@ -21,15 +21,15 @@ We will discuss what each of these directories do and the relevant files they co

## config

Related to variables used accross the application.
Related to variables used across the application.

| Name | Description |
| ------------- | ------------------------------------------------------------------------------------------------------------------- |
| `settings.py` | Contains configuration files for the application, mainly paths and parameters which are used across the application |

## database

This directory contains files related to database operations, including table creation, query handeling and some helper functions on the tables.
This directory contains files related to database operations, including table creation, query handling and some helper functions on the tables.
These files are the places where most of the SQL queries are written. By default, on startup this directory is where the databases (`.db` files) is
created.

Expand Down
Loading