Welcome to the Salla E-commerce Platform! This project is a comprehensive e-commerce application built with modern web technologies. It includes features such as product browsing, cart management, wishlist functionality, user authentication, and more.
-
ποΈ Product Browsing: Browse through a wide range of products.
-
π Cart Management: Add, update, and remove products from your cart.
-
β€οΈ Wishlist: Save your favorite products to your wishlist.
-
π User Authentication: Sign up, log in, and manage your account.
-
π Internationalization: Support for multiple languages.
-
π± Responsive Design: Optimized for both desktop and mobile devices.
- Frontend: React, TypeScript, Redux Toolkit,Reduc persists ,Tailwind CSS , ShadCn
- API: RESTful API
- Authentication: JWT (JSON Web Tokens)
- State Management: Redux Toolkit
- Internationalization: react-i18next
- Clone the repository:
git clone https://github.com/your-username/salla-ecommerce.git cd salla-ecommerce
npm install
Create a .env
file in the root directory and add the following variables:
REACT_APP_API_BASE_URL=http://localhost:5000/api
npm start
Navigate to http://localhost:3000 to see the application in action.
- Browse Products: Explore the product catalog and view product details.
- Manage Cart: Add products to your cart, update quantities, and remove items.
- Wishlist: Add products to your wishlist for future reference.
- User Authentication: Sign up for a new account or log in with existing credentials.
salla-ecommerce/
βββ public/ # Static assets and public files
βββ src/ # Main source code directory
β βββ components/ # Reusable UI components
β β βββ AuthComponent/ # Components related to authentication
β β βββ NavBar/ # Navigation bar components
β β βββ ProductViewer/ # Product viewing components
β β βββ shared/ # Shared components across the app
β β βββ ui/ # UI-specific reusable components
β βββ features/ # Redux features for state management
β β βββ auth/ # Authentication feature
β β βββ cart/ # Cart feature
β β βββ products/ # Product feature
β β βββ wishlist/ # Wishlist feature
β βββ hooks/ # Custom React hooks
β βββ pages/ # Application pages
β βββ services/ # API and utility services
β β βββ api/ # API service files
β β βββ utils/ # Utility functions
β βββ App.tsx # Root application component
β βββ index.tsx # Application entry point
β βββ ... # Other project files
βββ .env # Environment variables
βββ package.json # Project dependencies and scripts
βββ README.md # Project documentation
---
### π€ Contributing
Contributions are welcome! Please follow these steps to contribute:
1. Fork the repository.
2. Create a new branch:
```bash
git checkout -b feature/your-feature
- Make your changes.
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.
If you have any questions or feedback, feel free to reach out:
- Email: aliashour468@gmail.com
- GitHub: aliashour2