Skip to content

Nihar277/DineSwift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DineSwift

DineSwift is a food ordering platform built with .NET 8. This repository contains:

  • API/: ASP.NET Core Web API (auth, orders, restaurants, payments, search, etc.)
  • MVC/: ASP.NET Core MVC web app (customer/restaurant/admin UI)
  • Repository/: Data access / services layer used by the API

Screenshots

Landing Page Restaurant Menu Item Image
Landing Page Restaurant Menu Item Image

Tech Stack

  • Backend: ASP.NET Core .NET 8 (Web API)
  • Frontend: ASP.NET Core MVC (Razor Views), Kendo UI
  • Database: PostgreSQL (via Npgsql)
  • Caching / Session: Redis
  • Messaging: RabbitMQ
  • Payments: Stripe
  • Search: Elasticsearch (NEST client)

Getting Started (Local Development)

1) Prerequisites

  • .NET SDK 8.x
  • PostgreSQL
  • Redis
  • RabbitMQ
  • (Optional, if you use search) Elasticsearch

2) Configure secrets (IMPORTANT)

This repo is set up to not commit secrets:

  • Real config files like API/appsettings.json and MVC/appsettings.Development.json are ignored
  • Safe templates are committed as *.example

Create your local config files by copying the templates:

  • API/appsettings.json.exampleAPI/appsettings.json
  • API/appsettings.Development.json.exampleAPI/appsettings.Development.json
  • MVC/appsettings.json.exampleMVC/appsettings.json
  • MVC/appsettings.Development.json.exampleMVC/appsettings.Development.json

Optional environment variable template:

  • example.env.env (the .env file is ignored by git)

3) Run the API

From the repo root:

dotnet restore
dotnet run --project API/API.csproj

The API exposes endpoints under:

  • http://localhost:5245/api (based on MVC/appsettings.Development.json)

Ports can vary depending on your local launchSettings.json (which is ignored by git).

4) Run the MVC app

In a new terminal:

dotnet run --project MVC/MVC.csproj

Then open the MVC site in your browser (URL will print in the console output).

Repository Structure

DineSwift.sln
API/          # ASP.NET Core Web API
MVC/          # ASP.NET Core MVC UI
Repository/   # Shared repository/services layer
docs/
  screenshots/  # README screenshots only

About

DineSwift is a smart food ordering and delivery platform designed to enhance the online dining experience. The system allows users to browse restaurant menus, place food orders, track deliveries in real time, and receive AI-based dish recommendations based on their order history and preferences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors