EStoreBackend is a backend service for managing an e-commerce platform. It is built with ASP.NET Core and provides RESTful APIs for managing products, categories, orders, and user authentication.
- Product Management: CRUD operations for products.
- Category Management: CRUD operations for product categories.
- Order Management: CRUD operations for customer orders.
- User Authentication: Secure user authentication and authorization using JWT tokens.
- Role-Based Access Control: Admin and user roles with different access permissions.
- Data Validation: Ensures the integrity of data through model validation.
- Logging and Error Handling: Centralized logging and error handling mechanisms.
- Output Caching: Implements output caching to improve performance and reduce server load.
- Email Service: Integration with an email service to send notifications and confirmations.
- File Management: Support for file upload and management, including adding images to products.
- ASP.NET Core
- Entity Framework Core
- SQL Server
- JWT Authentication
- Swagger for API documentation
- MediatR for CQRS and Mediator pattern
- .NET 8 SDK
- SQL Server
- Clone the repository:
git clone https://github.com/anilklc/EStoreBackend.git
- Navigate to the project directory:
cd EStoreBackend
- Update the database connection string and other configurations in
appsettings.json
. - Apply migrations and create the database:
dotnet ef database update
- Run the application:
dotnet run
API documentation is available via Swagger. Once the application is running, navigate to /swagger
to explore the available endpoints.
This project is licensed under the MIT License.