Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angelosans/sivircoffee
Sivir Coffee is a microservice application focused on scalability and efficient service communication. Using JWT for secure authentication and RabbitMQ for message brokering, Sivir Coffee ensures seamless interaction between its services. This architecture enhances security and promotes robust, maintainable code for a modern coffee shop experience.
https://github.com/angelosans/sivircoffee
asp-net-core csharp jwt microservice rabbitmq
Last synced: 3 months ago
JSON representation
Sivir Coffee is a microservice application focused on scalability and efficient service communication. Using JWT for secure authentication and RabbitMQ for message brokering, Sivir Coffee ensures seamless interaction between its services. This architecture enhances security and promotes robust, maintainable code for a modern coffee shop experience.
- Host: GitHub
- URL: https://github.com/angelosans/sivircoffee
- Owner: AngeloSans
- Created: 2024-02-04T15:09:20.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-08-21T15:39:28.000Z (5 months ago)
- Last Synced: 2024-10-19T18:01:34.110Z (3 months ago)
- Topics: asp-net-core, csharp, jwt, microservice, rabbitmq
- Language: C#
- Homepage:
- Size: 27.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sivir Coffee
**Sivir Coffee** is a microservice application designed with a focus on scalability and efficient service communication. Utilizing components such as JWT (JSON Web Token) for secure authentication and RabbitMQ for reliable message brokering, Sivir Coffee ensures seamless interaction between its various services. This architecture not only enhances security but also promotes robust and maintainable code, making Sivir Coffee a modern solution for a dynamic and responsive coffee shop experience.
## Tools and Technologies
- **.NET**: The primary framework used for building the microservices.
- **PostgreSQL**: The relational database used for data storage.
- **RabbitMQ**: The message broker used for service communication.## Getting Started
### Prerequisites
- [.NET SDK](https://dotnet.microsoft.com/download)
- [PostgreSQL](https://www.postgresql.org/download/)
- [RabbitMQ](https://www.rabbitmq.com/download.html)### Installation
1. **Clone the repository**
```bash
git clone https://github.com/Anjocaido13/SivirCoffee.git
cd SivirCoffee2. **Restore NuGet packages**
```bash
dotnet restore
```
3. **Update your data base**
```bash
Update the connection string in each service's appsettings.json
```
4. **Create migration for each database**
```bash
Add-Migration "Your Migration Name"
```
5 **Then Update your database**
```bash
update-database
```
## Services**AuthenticationService**
Handles user authentication and authorization using JWT. It provides functionalities for user registration and login, issuing JWT tokens for authenticated users to secure other service interactions.**OrderService**
Manages customer orders. This service allows for creating new orders, updating existing ones, retrieving order details, and deleting orders. It ensures that the order lifecycle from creation to completion is handled efficiently.**MenuService**
Manages the coffee shop's menu, including details about available coffees, candies, and condiments. This service handles the addition, update, retrieval, and deletion of menu items, ensuring the menu is up-to-date.**PaymentService**
Handles payment processing for orders. This service ensures that payments are processed securely and transactions are completed successfully. It manages payment details and verifies transaction statuses.