This repository is part of a full-stack book-selling website, specifically the admin-facing management system. It is a project for the SWP391 subject by FPT University students.
- Leader: Huỳnh Ngọc Tiên
- Frontend:
- Huỳnh Ngọc Tiên
- Backend:
- Huỳnh Ngọc Tiên
- Lê Huỳnh Tường
- Lê Thanh Phương
- Lê Ngọc Hiếu
- Nguyễn Lê Hữu Huy
- Backend: backend
- Frontend:
- Book Catalog: Browse through a variety of books with detailed information.
- Search & Filter: Search books by title, author, or category.
- User Authentication: Register, log in, and manage user accounts.
- Shopping Cart: Add books to the cart and proceed to checkout.
- Order Management: View and manage orders.
- Admin Panel: Manage books, users, and orders (Admin-only access).
- Responsive Design: Optimized for desktop, tablet, and mobile devices.
- Backend: ASP.NET Core 8, Entity Framework Core, MySQL
- Frontend: React (Vite), Tailwind CSS, Ant Design
- Database: MySQL
- API Communication: RESTful APIs, Axios
- Version Control: Git
- Visual Studio 2022 (for Backend)
- Visual Studio Code (for Website and Admin Panel)
- .NET SDK (version 8.0 or later) – Download .NET SDK
- Node.js (version 18.x or later) – Download Node.js
- MySQL (or any SQL-compatible database)
- Vite (for React development)
- Clone the repository using
git cloneto your local device. - Open the project in Visual Studio 2022.
- Restore the dependencies by running
dotnet restore. - Update the database connection string in
appsettings.json. - Run the application using
dotnet run.
- Clone the repository using
git clone. - Open the project in Visual Studio Code.
- Install the dependencies by running
npm installin the terminal. - Start the development server by running
npm run dev. - Access the application via the URL provided in the terminal.
- Install MySQL and create a database.
- Update the connection strings in the backend's
appsettings.jsonfile. - Run the migrations to set up the database schema by using
dotnet ef database update.
- Backend tests can be run using
dotnet test. - Frontend tests can be run using
npm run test.
Now you can enjoy the project.
This project is licensed under the MIT License – see the LICENSE file for details.