Welcome to the Course Online Shop Frontend repository! This project powers the user interface of an online course marketplace, built with modern web technologies to provide a seamless and responsive experience. 🌐
- Overview
- Technologies Used
- Getting Started
- Usage
- Screenshots
- Related Repositories
- Contributing
- License
The frontend of the Course Online Shop is designed to deliver an intuitive and engaging interface for users to browse, purchase, and manage online courses. It communicates with the backend API to handle user interactions and data display.
- React.js ⚛️
- Tailwind CSS 🎨
- JavaScript 💻
- Axios for API requests 🌍
This frontend requires a backend API to function. The recommended backend is the Course Online Shop Backend, which provides the necessary API endpoints for course data, user management, and orders. Follow the steps below to set up the frontend and ensure the backend is running.
- Node.js (v16 or higher) 📦
- npm or Yarn 🧶
- A running instance of the Course Online Shop Backend 🛠️
-
Clone the repository:
git clone https://github.com/Sina-Ghiasi/course-online-shop-frontend.git
-
Navigate to the project directory:
cd course-online-shop-frontend
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and add the backend API URL (update the URL to match your backend's address):REACT_APP_API_URL=http://localhost:5000/api
-
Ensure the Course Online Shop Backend is set up and running. Follow its setup instructions to start the backend server.
-
Start the development server:
npm start
The app should now be running at http://localhost:3000
. 🎉
- Browse courses on the homepage 🏫
- Sign up or log in to access personalized features 🔐
- Add courses to your cart and proceed to checkout 🛒
- Access the admin panel to manage courses, users, and orders (available for authorized admin users) 🛠️
Note: The checkout bank process (payment gateway integration) is not currently developed; users are responsible for setting up their own payment processing solution 💳
Below are some screenshots of the Course Online Shop frontend in action:
Homepage | User profile | Admin panel |
---|---|---|
![]() |
![]() |
![]() |
This frontend works in tandem with the backend API. Check out the related repository:
We welcome contributions! Here's how you can help:
- Fork the repository 🍴
- Create a new branch:
git checkout -b feature/your-feature
- Commit your changes:
git commit -m "Add your 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.