tuan.cna 704251d57f 🔗 Use REACT_APP_API_BASE_URL from Environment Variables
🌐 Environment Configuration:
- Use REACT_APP_API_BASE_URL from .env file
- Dynamic API endpoint construction
- Support for different environments (dev, staging, prod)

🔧 Enhanced API Integration:
- Added proper HTTP headers (Content-Type, Accept)
- Improved error handling with HTTP status checks
- Added console logging for debugging
- Fallback pagination when API doesn't provide it
- Better error state management

📊 API Call Structure:
- URL: \Projects
- Method: GET with proper headers
- Query params: page, pageSize
- Error handling for network issues
- Response validation

🚀 Production Ready:
- Environment-based configuration
- Robust error handling
- Debug logging for development
- Graceful fallbacks for missing data
- Clean error states

Current API Base URL: https://trantran.zenstores.com.vn/api/
2025-05-30 14:11:38 +07:00
2025-05-25 17:15:22 +07:00
2025-05-25 17:15:22 +07:00

Dreams POS React Template

A modern Point of Sale (POS) system built with React.js.

Features

  • Modern and responsive UI
  • Complete POS functionality
  • Inventory management
  • Sales and purchase tracking
  • User management
  • Reports and analytics
  • Mobile-friendly design

Installation

  1. Clone the repository
git clone https://github.com/anhtuanbtx1/dreamspos-react.git
  1. Install dependencies
npm install
  1. Start the development server
npm start

Technologies Used

  • React.js
  • React Router
  • Redux
  • Bootstrap
  • SCSS
  • Axios

License

This project is licensed under the MIT License.

Description
No description provided
Readme 17 MiB
Languages
JavaScript 85.9%
SCSS 12.8%
CSS 0.8%
TypeScript 0.5%