Skip to content

quocle0212/react-mobile-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-mobile-store-portal

Ứng dụng frontend cho cửa hàng di động, xây bằng React (Create React App). Tài nguyên tĩnh và trang HTML có trong public/; mã React nằm trong src/.

Tổng quan

  • Frontend nhiều trang, gồm các trang sản phẩm, giỏ hàng, đơn hàng, khách hàng, tìm kiếm.
  • Tương tác với API qua Axios; token/cookie có thể được quản lý bằng js-cookie.
  • State management: Redux + @reduxjs/toolkit, với persistence qua redux-persist.

Tính năng chính

  • Điều hướng đa trang với react-router-dom.
  • Quản lý trạng thái phức tạp bằng Redux Toolkit.
  • Thông báo/alert bằng sweetalert2 và format thời gian bằng moment.

Công nghệ

  • React, JavaScript (ES6+)
  • Redux, @reduxjs/toolkit, redux-persist
  • react-router-dom
  • axios, js-cookie
  • moment, sweetalert2
  • Create React App (react-scripts)

Cấu trúc thư mục chính

  • src/ — mã nguồn React
  • public/ — HTML tĩnh, CSS, images, scripts
  • package.json — scripts & dependencies

Chạy dự án (cục bộ)

  1. Cài dependencies:
Set-Location -Path 'C:\React\projectWithToken'
npm install
  1. Chạy chế độ phát triển:
npm start
  1. Tạo bản build production:
npm run build

License

Xem file LICENSE.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors