https://github.com/andres15alvarez/fast-microservices
Two microservices, redisJSON and FastAPI
https://github.com/andres15alvarez/fast-microservices
fastapi microservices redis rediscloud
Last synced: 2 months ago
JSON representation
Two microservices, redisJSON and FastAPI
- Host: GitHub
- URL: https://github.com/andres15alvarez/fast-microservices
- Owner: andres15alvarez
- License: mit
- Created: 2022-03-26T22:05:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-26T22:13:52.000Z (about 3 years ago)
- Last Synced: 2025-01-17T13:29:50.850Z (4 months ago)
- Topics: fastapi, microservices, redis, rediscloud
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microservices with FastAPI
Two microservices made with FastAPI connected to the same RedisJSON instance.
These microservices communicate each other through HTTP.
Each folder is a microservice.## Setup
In each folder:
```
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --port 8000
```
In the other microservice:
```
uvicorn main:app --reload --port 8001