Skip to content

adityaakunjir/samaan-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

samaan-api — Samaan Backend (ASP.NET Core Web API)

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.

Live

Related Repositories

Tech Stack

  • 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

Key Features

  • 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

Local Setup

Prerequisites

  • .NET SDK 8
  • SQL Server (local) OR Azure SQL

Run

dotnet restore
dotnet run

Then open Swagger (local URL depends on your launch profile).

Deployment

  • Azure App Service: API hosting
  • Azure SQL: database
  • Swagger enabled for testing/verification

About

ASP.NET Core Web API (.NET 8) for Samaan with JWT auth, role-based authorization, EF Core, and Azure SQL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors