Skip to content

Jackx333/ProductStoreMVC

Repository files navigation

Product Store MVC

A full-stack ASP.NET Core MVC ecommerce-style project built with Entity Framework Core, SQL Server, Identity Authentication, and Role-Based Authorization.

Features

  • User Authentication (Register / Login / Logout)
  • Role-Based Authorization (Admin & User)
  • Product CRUD Operations
  • Product Search
  • Shopping Cart System
  • Admin Dashboard Features
  • Entity Framework Core Migrations
  • SQL Server Database Integration
  • Dockerized SQL Server
  • Responsive Bootstrap UI

Technologies Used

  • ASP.NET Core MVC
  • Entity Framework Core
  • SQL Server
  • ASP.NET Identity
  • Bootstrap 5
  • Docker
  • DBeaver
  • C#

User Roles

Admin

Can:

  • Create products
  • Edit products
  • Delete products
  • Manage store products

User

Can:

  • View products
  • Search products
  • Add products to cart
  • Remove products from cart

Screenshots

Products Page

Products Page


Login Page

Login Page


Admin Dashboard

Admin Dashboard


Shopping Cart

Cart Page


Database

This project uses:

  • SQL Server running in Docker
  • Entity Framework Core Code First Migrations

How To Run

1. Clone Repository

git clone YOUR_REPOSITORY_LINK

2. Navigate To Project

cd ProductStoreMVC

3. Run SQL Server Docker Container

docker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=YourStrong123!' -p 1434:1433 --name sqlserver-mvc -d mcr.microsoft.com/mssql/server:2022-latest

4. Update Database

dotnet ef database update

5. Run Application

dotnet watch run

Admin Account

Email: admin@store.com
Password: Admin123!

Future Improvements

  • Product Categories
  • Image Uploads
  • Checkout System
  • Order History
  • Payment Integration
  • REST API Version
  • JWT Authentication

Author

Adham Tamer

About

ASP.NET Core MVC ecommerce project with EF Core, Identity, SQL Server, Docker, and role-based authentication.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages