Skip to content

Commit 7fe3db9

Browse files
authored
Merge pull request #331 from nanotaboada/feature/commitlint
chore: update structure diagram
2 parents 5659282 + 76de1e5 commit 7fe3db9

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.github/workflows/python-app.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
2121

22+
- name: Lint commit messages
23+
uses: wagoid/commitlint-github-action@v6
24+
2225
- name: Set up Python ${{ env.PYTHON_VERSION }}
2326
uses: actions/setup-python@v5
2427
with:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111

1212
## Manifesto
1313

14-
> "Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse, you might be scared away by the sheer size of the work you envision. So start small, and think about the details. Don't think about some big picture and fancy design. If it doesn't solve some fairly immediate need, it's almost certainly over-designed. And don't expect people to jump in and help you. That's not how these things work. You need to get something half-way _useful_ first, and then others will say "hey, that _almost_ works for me", and they'll get involved in the project." — Linus Torvalds
14+
> "Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse, you might be scared away by the sheer size of the work you envision. So start small, and think about the details. Don't think about some big picture and fancy design. If it doesn't solve some fairly immediate need, it's almost certainly over-designed. And don't expect people to jump in and help you. That's not how these things work. You need to get something half-way _useful_ first, and then others will say "hey, that _almost_ works for me", and they'll get involved in the project." — [Linus Torvalds](https://web.archive.org/web/20050404020308/http://www.linuxtimes.net/modules.php?name=News&file=article&sid=145)
1515
1616
## About
1717

1818
Proof of Concept for a RESTful API made with [Python 3](https://www.python.org/) and [FastAPI](https://fastapi.tiangolo.com/).
1919

2020
## Structure
2121

22-
The following is a simplified dependency diagram of modules and main libraries:
22+
![Simplified, conceptual project structure and main application flow](assets/images/structure.svg)
2323

24-
![Dependency Diagram](assets/images/python-samples-fastapi-restful.svg)
24+
_Figure: Simplified, conceptual project structure and main application flow. Not all dependencies are shown._
2525

2626
## Install
2727

@@ -43,7 +43,7 @@ uvicorn main:app --reload --port 9000
4343
http://localhost:9000/docs
4444
```
4545

46-
![API Documentation](assets/images/python-samples-fastapi-restful-docs.png)
46+
![API Documentation](assets/images/swagger.png)
4747

4848
## Credits
4949

0 commit comments

Comments
 (0)