Simple application imitating an inventory from where you can make orders and payments1.
Add products to the inventory 🔨. The frontend will make a call to the inventory service.
Make a payment on an item 💶. A message will be sent to Redis indicating that payment is made. 📨 This message will be caught by inventory service which will decrease the amount of the item correspondingly.
A complex scenario ❤️🔥 :
- Create a payment on an inventory item.
- Manage to delete the product in 5 seconds.
Technologies used:
- Microservices architecture
- Event sourcing using Redis
- Database: RedisJSON
- Backend: Python FastAPI 🐍
- Frontend: ReactJS ⚛️