WebBanDoTrangMieng

🍰 Website Bán Bánh Tráng Miệng

📖 Giới thiệu

Website thương mại điện tử chuyên bán các loại bánh tráng miệng và đồ uống cao cấp. Được phát triển bằng ASP.NET MVC với Entity Framework Database First.

✨ Tính năng chính

🛍️ Khách hàng

👨‍💼 Quản trị viên

🛠️ Công nghệ sử dụng

Backend

Frontend

Database

📁 Cấu trúc dự án

WebBanDoTrangMieng/
├── Controllers/           # Controllers chính
│   ├── HomeController.cs
│   ├── ProductController.cs
│   ├── CartController.cs
│   └── UserController.cs
├── Areas/
│   └── Admin/            # Khu vực quản trị
│       ├── Controllers/
│       └── Views/
├── Models/               # Models tùy chỉnh
│   ├── CartItem.cs
│   └── ViewModel/
├── Views/                # Razor Views
│   ├── Home/
│   ├── Product/
│   ├── Cart/
│   └── Shared/
├── Content/              # CSS, Images
│   ├── Images/Products/
│   └── *.css
├── Scripts/              # JavaScript files
└── *.cs                  # Entity Framework Models

🚀 Hướng dẫn cài đặt

1. Yêu cầu hệ thống

2. Clone repository

git clone https://github.com/your-username/WebBanDoTrangMieng.git
cd WebBanDoTrangMieng

3. Cấu hình Database

  1. Mở SQL Server Management Studio
  2. Tạo database mới tên QLStoreTrangMieng
  3. Chạy script trong file db_Script.txt
  4. Cập nhật connection string trong Web.config:
<connectionStrings>
  <add name="QLStoreTrangMiengEntities"
       connectionString="data source=YOUR_SERVER;initial catalog=QLStoreTrangMieng;integrated security=True"
       providerName="System.Data.SqlClient" />
</connectionStrings>

4. Chạy ứng dụng

  1. Mở solution trong Visual Studio
  2. Build solution (Ctrl + Shift + B)
  3. Chạy project (F5 hoặc Ctrl + F5)

5. Tài khoản mặc định

📊 Database Schema

Bảng chính:

🎯 Tính năng đã hoàn thành

Core Features

🚧 Đang phát triển

📱 Screenshots

Trang chủ

Danh sách sản phẩm

Giỏ hàng

Admin Panel

🔧 API Endpoints

Cart API

Product API

🤝 Đóng góp

  1. Fork repository
  2. Tạo feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add some AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Tạo Pull Request

📝 License

Distributed under the MIT License. See LICENSE for more information.

👥 Tác giả

🙏 Acknowledgments


📞 Liên hệ

Nếu có bất kỳ câu hỏi nào, vui lòng liên hệ qua:

Made with ❤️ for learning purposes