Skip to content

Commit

Permalink
docs: add diagram pic
Browse files Browse the repository at this point in the history
add folder for docs
  • Loading branch information
sali72 committed Dec 11, 2024
1 parent c017085 commit f0438e0
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ For questions or feedback, please reach out:
## Navigation Panel
For more technical details look at other readme files:

- [Main README](README.md)
- [Step by Step Guide](README-GUIDE.md)
- [Developer Documentation](README-DEV.md)
- [Models Documentation](README-MODELS.md)
- [Main README](/README.md)
- [Step by Step Guide](/docs/README-GUIDE.md)
- [Developer Documentation](/docs/README-DEV.md)
- [Models Documentation](/docs/README-MODELS.md)
10 changes: 6 additions & 4 deletions README-DEV.md → docs/README-DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ my-net-worth-api/
├── database/
│ ├── database.py (database connection and initialization)
│ ├── initialize_db.py (database initialization scripts)
├── docs/
│ └── ... (includes all docs other than main readme)
├── models/
│ ├── enums.py (enum classes used across the app)
│ ├── models.py (all MongoEngine models)
Expand Down Expand Up @@ -313,7 +315,7 @@ We welcome contributions! Please follow these guidelines:

Use the links below to navigate between different sections of the documentation:

- [Main README](README.md)
- [Step by Step Guide](README-GUIDE.md)
- [Developer Documentation](README-DEV.md)
- [Models Documentation](README-MODELS.md)
- [Main README](/README.md)
- [Step by Step Guide](/docs/README-GUIDE.md)
- [Developer Documentation](/docs/README-DEV.md)
- [Models Documentation](/docs/README-MODELS.md)
8 changes: 4 additions & 4 deletions README-GUIDE.md → docs/README-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2006,7 +2006,7 @@ it processes all of your data at the time of request to calculate the values
Use the links below to navigate between different sections of the documentation:
- [Main README](README.md)
- [Step by Step Guide](README-GUIDE.md)
- [Developer Documentation](README-DEV.md)
- [Models Documentation](README-MODELS.md)
- [Main README](/README.md)
- [Step by Step Guide](/docs/README-GUIDE.md)
- [Developer Documentation](/docs/README-DEV.md)
- [Models Documentation](/docs/README-MODELS.md)
14 changes: 9 additions & 5 deletions README-MODELS.md → docs/README-MODELS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ This document provides an overview of the data models used in the **My Net Worth

# Data Models

The application's data layer is modeled using MongoEngine document models, defined in `models/models.py`. The models represent the various entities and their relationships in the **My Net Worth** application. This section provides an overview of each model, their functionality, and the purpose of each field.
The application's data layer is modeled using MongoEngine document models, defined in `models/models.py`.

The diagram represents persisted models in DB and their relationships with each other:

![Relationship Diagram](/docs/relationship_diagram.png)

## Base Classes

Expand Down Expand Up @@ -290,7 +294,7 @@ Represents a user's asset.

Use the links below to navigate between different sections of the documentation:

- [Main README](README.md)
- [Step by Step Guide](README-GUIDE.md)
- [Developer Documentation](README-DEV.md)
- [Models Documentation](README-MODELS.md)
- [Main README](/README.md)
- [Step by Step Guide](/docs/README-GUIDE.md)
- [Developer Documentation](/docs/README-DEV.md)
- [Models Documentation](/docs/README-MODELS.md)
Binary file added docs/relationship_diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f0438e0

Please sign in to comment.