CoffeeBackEnd is the backend management system for the Coffee e-commerce platform, designed to handle user authentication, order management, and data storage. It is built using ASP.NET Core MVC and integrates with a SQL Server database. This system provides admins with the ability to manage product inventory, track orders, and control user roles and permissions.
-
Clone or download this repository:
git clone https://github.com/TANANIS/CoffeeBackEnd.git
-
Set up the SQL Server database, and configure the connection string in the
appsettings.jsonfile. -
Install any required dependencies and run the project using Visual Studio or your preferred IDE.
-
Open the application in your browser and log in using one of the admin credentials.
- User Authentication: Allows for login with role-based access to the admin panel.
- Order Management: Admins can view and manage orders, process payments, and track order statuses.
- Product Management: Admins can manage product details and stock levels.
- Role-based Permissions: Assign specific roles and permissions to users for secure access control.
- Data-driven: Uses SQL Server for data storage, with models and controllers handling the database operations.
-
ASP.NET Core MVC: Framework used to build the web application.
-
SQL Server: Database used to store user and product data.
-
Entity Framework: ORM for database access.
-
C#: Programming language used for backend logic.
CoffeeBackEnd 是一個咖啡電商平台的後端管理系統,主要處理用戶認證、訂單管理及資料儲存。它使用 ASP.NET Core MVC 並與 SQL Server 數據庫進行整合。此系統提供管理員管理產品庫存、跟蹤訂單以及控制用戶角色和權限的功能。
-
複製或下載此存儲庫:
bash 複製程式碼 git clone https://github.com/TANANIS/CoffeeBackEnd.git
-
設置 SQL Server 數據庫,並在
appsettings.json文件中配置連接字串。 -
安裝所需的依賴項並使用 Visual Studio 或其他開發環境運行專案。
-
打開應用程式並使用其中一個管理員帳戶登入。
- 用戶認證:提供角色基礎的登入功能,管理員可進入後台管理界面。
- 訂單管理:管理員可查看和管理訂單,處理付款並跟蹤訂單狀態。
- 產品管理:管理員可以管理產品詳情與庫存。
- 角色基礎權限:根據用戶角色授予不同權限,確保系統安全。
- 數據驅動:使用 SQL Server 儲存資料,並通過模型和控制器處理數據庫操作。
- ASP.NET Core MVC:用於構建網頁應用程式的框架。
- SQL Server:用於儲存用戶與產品資料的數據庫。
- Entity Framework:數據訪問的 ORM 工具。
- C#:用於後端邏輯開發的編程語言。