The Online Electronics Store is an e-commerce platform built with ASP.NET Core 8.0 MVC. It includes a user-friendly customer interface, an admin panel for store management, user authentication via ASP.NET Identity, and a mobile-responsive design using Bootstrap.
Demo Video:
Untitled.video.-.Made.with.Clipchamp.mp4
Homepage:
Products Page:
- Browse Products: View products by category, with details, images, and prices.
- User Accounts: Register, log in, and manage your account.
- Shopping Cart: Add, remove, and update items.
- Checkout: Complete purchases securely.
- Responsive Design: Mobile-friendly layout with Bootstrap.
- Dashboard: View store metrics.
- Manage Products: Add, edit, and delete products.
- Category Management: Create and manage product categories.
- User Management: Manage user roles and accounts.
- Order Management: Track and update customer orders.
- Framework: ASP.NET Core MVC
- Authentication: ASP.NET Identity
- Frontend: HTML, CSS, JavaScript, and Bootstrap
- Database: SQL Server (via Entity Framework Core)
- Tools: Visual Studio, Git, and Postman (for testing)
-
Clone the repo:
git clone https://github.com/username/online-electronics-store.git cd online-electronics-store
-
Set up the database:
- Update
appsettings.json
with your SQL Server connection. - Run:
dotnet ef database update
- Update
-
Run the app:
dotnet run
Visit
https://localhost:5001/
orhttp://localhost:5000/
.
- Register or log in.
- Browse products, add to cart, and check out.
- Log in with an admin account.
- Access the admin panel to manage products, categories, users, and orders.
📁 Online-Electronics-Store
├── 📁 Controllers # Handles requests
├── 📁 Models # Database entities
├── 📁 Views # Razor view files
├── 📁 wwwroot # Static files (CSS, JS, images)
├── 📄 appsettings.json # Configuration
├── 📄 Program.cs # Application entry point
├── 📄 Startup.cs # Configures middleware and services
- Admin: Full access to admin features.
- User: Can browse, shop, and check out.
- Authentication: Secure logins with ASP.NET Identity.
- Authorization: Role-based access for users and admins.
- Password Protection: Passwords are encrypted.