Skip to content

NgMinPhuc/book-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 

Repository files navigation

Online Book Store

This is a book website project.

Getting Started

To get started with this project, follow the steps below:

  1. Clone the repository:

    git clone https://github.com/NgMinPhuc/book-website.git
  2. Navigate to the directory:

    cd FE
  3. Install the dependencies using Yarn or npm:

    yarn install
  4. Start the development server:

    yarn dev
  5. Alternatively, you can use the yarn start command to preview the build:

    yarn start

Project Structure

  • public/: Contains public assets such as images.
  • src/: Contains the source code of the project.
    • common/: Contains common components like cart, footer, and header.
    • components/: Contains specific components like contact, exchangeBook, home, productView, signin, and userProfile.
    • pages/: Contains page layout components.
    • App.jsx: Main application component.
    • main.jsx: Entry point of the application.

Scripts

  • dev: Starts the development server.
  • start: Previews the build.
  • build: Builds the project for production.
  • lint: Runs ESLint to check for linting errors.
  • depcheck: Checks for unused dependencies.

Available Accounts - Sign In

You can use the following accounts to sign in:

Email Password
[email protected] password123
[email protected] password456
[email protected] password789
[email protected] password101
[email protected] password202

Dependencies

  • @emotion/react: ^11.8.1
  • @emotion/styled: ^11.8.1
  • @mui/icons-material: ^6.3.0
  • @mui/joy: ^5.0.0-beta.51
  • @mui/material: ^5.4.4
  • bootstrap: ^5.3.3
  • react: ^18.3.1
  • react-bootstrap: ^2.10.7
  • react-dom: ^18.3.1
  • react-icons: ^5.4.0
  • react-router-dom: ^5.3.0
  • react-slick: ^0.30.3
  • slick-carousel: ^1.8.1

Dev Dependencies

  • @eslint/js: ^9.15.0
  • @types/react: ^18.3.12
  • @vitejs/plugin-react: ^4.3.4
  • depcheck: ^1.4.7
  • eslint: ^9.15.0
  • eslint-plugin-react: ^7.37.2
  • eslint-plugin-react-hooks: ^5.0.0
  • eslint-plugin-react-refresh: ^0.4.14
  • globals: ^15.12.0
  • vite: ^6.0.1

License

This project is licensed under the MIT License.

🌸🌿 Happy coding! 🌿🌸

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published