https://github.com/flavien-hugs/fastapi-book-microservice
Une simple architecture de microservice avec FastAPI
https://github.com/flavien-hugs/fastapi-book-microservice
fastapi fastapi-microservices
Last synced: 3 months ago
JSON representation
Une simple architecture de microservice avec FastAPI
- Host: GitHub
- URL: https://github.com/flavien-hugs/fastapi-book-microservice
- Owner: flavien-hugs
- Created: 2022-11-26T02:16:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-28T00:49:47.000Z (almost 3 years ago)
- Last Synced: 2025-03-25T01:41:28.355Z (7 months ago)
- Topics: fastapi, fastapi-microservices
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Book Microservice
Une simple architecture de microservice avec FastAPI
## Prérequis:
- Python 3.8+
- pipenv ou pip
- Docker && Docker Compose## Cloner le projet
```
git clone https://github.com/flavienn-hugs/fastapi-book-microservice.git
```## Tester le projet en local
### Installer les dépendances
```Utilisateur de pipenv
pipenv install
```
ou
```Utilisateur de pip
pip install -r requirements.txt
```### Construire le container avec docker
```
make docker-compose-up
```## Documentation sur l'API
- Endpoint authors
```
http://localhost:8080/api/v1/authors/docs
```
- Endpoint books
```
http://localhost:8080/api/v1/books/docs
```