Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.
/ website Public archive

This repository is part of a full-stack book-selling website, specifically the user-facing system. It is a project for the SWP391 subject by FPT University students.

Notifications You must be signed in to change notification settings

Lain4504/website

Repository files navigation

📚 Forever BookStore Admin Panel

This repository is part of a full-stack book-selling website, specifically the user-facing system. It is a project for the SWP391 subject by FPT University students.

👥 Team Members

  • 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

🔗 Repository Links

✨ Key Features

  • 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.

🛠️ Tech Stack

  • 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

🚀 Installation and Setup

IDE

  • Visual Studio 2022 (for Backend)
  • Visual Studio Code (for Website and Admin Panel)

Prerequisites

  • .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)

Backend Setup (ASP.NET Core)

  1. Clone the repository using git clone to your local device.
  2. Open the project in Visual Studio 2022.
  3. Restore the dependencies by running dotnet restore.
  4. Update the database connection string in appsettings.json.
  5. Run the application using dotnet run.

Frontend Setup (React + Vite)

  1. Clone the repository using git clone.
  2. Open the project in Visual Studio Code.
  3. Install the dependencies by running npm install in the terminal.
  4. Start the development server by running npm run dev.
  5. Access the application via the URL provided in the terminal.

Database Setup

  1. Install MySQL and create a database.
  2. Update the connection strings in the backend's appsettings.json file.
  3. Run the migrations to set up the database schema by using dotnet ef database update.

Running Tests

  • Backend tests can be run using dotnet test.
  • Frontend tests can be run using npm run test.

Now you can enjoy the project.

📄 License

This project is licensed under the MIT License – see the LICENSE file for details.

About

This repository is part of a full-stack book-selling website, specifically the user-facing system. It is a project for the SWP391 subject by FPT University students.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages