Welcome to the Microservices-based E-Commerce application built using .NET 8. This project is developed using Azure services and integrated with Stripe for secure payment processing. and designed to provide a comprehensive example of developing a real microservices architecture. It covers foundational elements, authentication and authorization with .NET Identity, and leverages technologies like Entity Framework Core and Ocelot API Gateway, product management, shopping cart functionality, order processing, payment transactions, email notifications, user authentication,.
-
Product Microservice:
- Manages product information.
- Interacts with Azure SQL Server for data storage.
-
Shopping Cart Microservice:
- Handles shopping cart functionalities using Azure Queues.
- Supports asynchronous processing of cart-related tasks.
-
Ordering Microservice:
- Manages user orders and updates order status.
- Communicates with Azure SQL Server for order data.
-
Payment Microservice:
- Manages payment transactions using Stripe integration.
- Implements server-side validations for secure payments.
-
Email Microservice:
- Sends email notifications using Azure Service Bus Functions.
- Handles payment confirmation emails.
-
.NET Identity Microservice:
- Handles user authentication and authorization using JWT tokens.
-
Coupon Microservice:
- Manages coupon-related functionalities using Stripe Coupons.
-
Ocelot Gateway Project:
- Implements Ocelot gateway for effective microservices communication.
-
MVC Web Application:
- Provides a user interface consuming APIs from microservices.
- Integrates with .NET Identity for secure user authentication.
-
Prerequisites:
- Azure account with necessary resources provisioned.
- Stripe account for payment processing.
- Visual Studio or any compatible code editor.
-
Configuration:
- Update configuration files with Azure and Stripe credentials.
- Configure JWT settings in the .NET Identity Microservice.
-
Run Locally:
- Clone the repository.
- Build and run each microservice and the MVC Web Application.
-
Deployment:
- Deploy microservices on Azure App Service.
- Configure Azure SQL Server, Queues, Topics, and Service Bus.
- Update application settings for production deployment.
Follow these steps to get the project up and running on your local machine:
- Clone the repository:
git clone https://github.com/ShraddhaBhure/sbrestaurant.git
This project is licensed under the MIT License - see the LICENSE.md file for details.
Special thanks to the contributors and the open-source community for making this project possible. If you have any questions or feedback, feel free to open an issue or reach out to us. Happy coding!