🌐 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/
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
- Clone the repository
git clone https://github.com/anhtuanbtx1/dreamspos-react.git
- Install dependencies
npm install
- 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
Languages
JavaScript
85.9%
SCSS
12.8%
CSS
0.8%
TypeScript
0.5%