Backend API for Samaan, a multi-role grocery delivery platform (Customer + Merchant). Built with .NET 8, ASP.NET Core Web API, JWT authentication, role-based authorization, EF Core, and SQL Server / Azure SQL.
- Customer App: https://github.com/adityaakunjir/samaan-customer
- Merchant App: https://github.com/adityaakunjir/samaan-merchant
- Portfolio Repo: https://github.com/adityaakunjir/Samaan
- C#, .NET 8, ASP.NET Core Web API (Controllers)
- JWT Bearer Authentication, Role-based Authorization (Customer/Merchant)
- Entity Framework Core, LINQ
- SQL Server / Azure SQL
- Swagger / OpenAPI
- Auth (Register/Login), JWT token generation
- Role-protected endpoints for Customer and Merchant
- Orders: create order (Customer), get order(s), update status (Merchant)
- Products: CRUD and search/filter
- Relational modeling using EF Core
- .NET SDK 8
- SQL Server (local) OR Azure SQL
dotnet restore
dotnet runThen open Swagger (local URL depends on your launch profile).
- Azure App Service: API hosting
- Azure SQL: database
- Swagger enabled for testing/verification