Skip to content

EN-Core is a modern, multi-vendor e-commerce marketplace built on the ASP.NET Core framework.

Notifications You must be signed in to change notification settings

SemoonaNoor/EN-Core-Marketplace

Repository files navigation

EN‑Core Marketplace

EN‑Core is a multi‑vendor e‑commerce marketplace built with ASP.NET Core MVC and Entity Framework Core. It provides separate experiences for admins, sellers, and customers, with a modern dashboard UI and full order flow from browsing products to checkout.

Features

  • Multi‑role authentication
    • Admin, Seller, and Customer roles using ASP.NET Core Identity.
    • Registration and login flows for each role with password‑based authentication.
  • Admin dashboard
    • Overview of total products, registered users, active sellers, and total sales.
    • Quick access to manage products and view orders from a single panel.
  • Product browsing and catalog
    • Responsive product listing page with cards showing image, category, description, and price.
    • “Add to Cart” actions and basic cart management for customers.
  • Order management
    • Customers can place orders from the cart and see an order confirmation page with order number, date, status, and shipping details.
    • Admin can monitor orders via the dashboard and management views.
  • Clean UI and UX
    • Soft UI Dashboard‑style layout for the admin panel and a simple storefront UI for customers.
    • Integration with browser password managers for a realistic user experience.

Tech Stack

  • Backend
    • ASP.NET Core MVC (.NET 6)
    • Entity Framework Core
    • ASP.NET Core Identity for authentication and roles
  • Database
    • SQL Server LocalDB (configurable via DefaultConnection in appsettings.json)
  • Frontend
    • Razor Views (CSHTML)
    • Bootstrap, jQuery, Soft UI Dashboard assets for styling and components
  • Tools
    • Visual Studio
    • Git & GitHub for version control
    • EF Core Migrations for database schema management

Getting Started

Prerequisites

  • Visual Studio 2022 (or later) with ASP.NET and web development workload
  • .NET 6 SDK
  • SQL Server Express / LocalDB

Setup

  1. Clone the repository

    git clone https://github.com/SemoonaNoor/EN-Core-Marketplace.git
    cd EN-Core-Marketplace
    
  2. Configure the database

    The default connection string in appsettings.json uses LocalDB:

    "ConnectionStrings": {
      "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=ENCoreDB;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True;"
    }
    

    Update this if needed for your SQL Server instance.

  3. Apply migrations

    In Visual Studio, open Package Manager Console and run:

    Update-Database
    
  4. Run the application

    • Set ENCore as the startup project.
    • Press Ctrl + F5 or click Run.
    • The app will start at a https://localhost:<port> URL.

Architecture Overview

  • Layers
    • Models/ – Entity and view models for products, orders, users, etc.
    • Data/ENCoreDbContext.cs – EF Core DbContext and DbSets.
    • Controllers/ – MVC controllers for Home, Products, Cart, and admin dashboards.
    • Views/ – Razor views for each feature (home, products, cart, identity pages).
    • Services/ – Application services such as email sending and seeding.
  • Key concepts
    • Role‑based access control for admin and seller management screens.
    • Session‑based cart implementation for customers.
    • Seed data for roles and an initial admin account on startup.

About the Developer

EN‑Core is a final‑year project by Semoona Noor, an IT student specializing in Software Engineering, Data Science, and AI/ML. Semoona has experience with full‑stack development in ASP.NET Core, data analysis in Python/SQL, and practical ML projects, as well as internships in data analytics and machine learning.

If you have feedback, suggestions, or want to collaborate on similar marketplaces, dashboards, or data‑driven applications, feel free to reach out via GitHub or LinkedIn.

About

EN-Core is a modern, multi-vendor e-commerce marketplace built on the ASP.NET Core framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published