Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zunohoang/edumarketclient

Website bán khóa học
https://github.com/zunohoang/edumarketclient

education edumarket reactjs tailwindcss

Last synced: 4 days ago
JSON representation

Website bán khóa học

Awesome Lists containing this project

README

        

# EduMarket - Online Education Platform

Experience at: [`edu-market.vercel.app`](edu-market.vercel.app)

EduMarket is a community project providing an online education platform that connects students, teachers, admins, and collaborators. The project consists of two main parts:

- **Frontend (EduMarketClient)**: Building the user interface, etc.
- **Backend (EduMarketServer)**: Managing data and handling business logic, REST APIs, etc.
---

## 📂 Project Structure

### Repository:

+ Frontend: [`edu-market-client`](https://github.com/zunohoang/EduMarketClient.git)
+ Backend: [`edu-market-server`](https://github.com/zunohoang/EduMarketServer.git)

### Tech:

- **Frontend:** Reactjs, TailwindCSS

- **Backend:** Nodejs (Expressjs)

- **Database:** MongoDB

- **Auth:** JWT

- **Cache:** Redis

- **Libs:** mongoose, dotenv, jsonwebtoken, redis... (more at package.json)

---

## 🚀 How to Run the Project

### Method 1. Using **Docker**

| (Update later)

### Method 2. Clone the code

#### Run **Backend**:
1. **Clone the Backend repo**:
```bash
git clone https://github.com/zunohoang/EduMarketServer.git
cd EduMarketServer
```
2. **Install dependencies**:
```bash
npm i
```
3. **Configure environment variables**:
Create a `.env` file with the following template:
```env
PORT=5000

MONGO_URI=mongodb+srv://:@cluster.mongodb.net/db

JWT_SECRET=

REDIS_PORT=
REDIS_PW=
REDIS_HOST=
```
4. **Run the server**:
```bash
npm run dev
```
The server will run at: `http://localhost:`.

---

#### Run **Frontend**:
1. **Clone the Frontend repo**:
```bash
git clone https://github.com/zunohoang/EduMarketClient.git
cd EduMarketClient
```
2. **Install dependencies**:
```bash
npm i
```
3. **Configure environment variables**:
Create a `.env` file with the following template:
```env
VITE_PORT=
VITE_API=
```
4. **Run the application**:
```bash
npm run dev
```
The application will run at: `http://localhost:`.

## 🛠️ Contributing

If you want to contribute to the project, please follow these steps:
1. Fork the repository.
2. Create a new branch for the feature or bug fix:
```bash
git checkout -b feature/
```
3. Commit your changes:
```bash
git commit -m "Add feature "
```
4. Push to your branch:
```bash
git push origin feature/
```
5. Create a Pull Request on GitHub.

---

## 📞 Contact

- **Lead Author**: [zunohoang](https://github.com/zunohoang)
- **Email**: [email protected]

Thank you for visiting the project! 🚀