Skip to content

Madhu-mac/Course_Hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CourseHub

Course selling app

A comprehensive course-selling website with robust features, built on the MERN stack (Node.js, Express.js, MongoDB, and React).

Explore the live application: 🚀✨

CourseHub-Admin.Git.mp4
CourseHub-Client.mp4

Table of Contents

  1. Admin Panel
  2. User Panel
  3. Demo video
  4. Developed using
  5. Quick Start
  6. Contributing
  7. License

Admin Panel

  1. Accessing the admin section of the course-selling app.
  2. Admins can effortlessly log in or create a new account.
  3. All administrators have the authority to: ✅ CREATE courses ✏️ UPDATE courses ❌ DELETE courses

User Panel

  1. Exploring the learner interface of the course-selling app.
  2. Learners can easily log in or register a new account.
  3. Users have the opportunity to explore and acquire knowledge from a diverse array of courses.
  4. Users can smoothly make purchases for their desired courses!💡

Note: The payment system and course content uploading features are currently under development.

Demo video

Developed Using

  1. React.js
  2. Node.js
  3. Express.js
  4. MongoDB
  5. CSS3
  6. MUI
  7. Vite.js

Quick Start

To set up a local copy of CourseHub, follow these simple steps:

Prerequisites

Ensure that Node.js and npm are installed on your machine.

Development

  1. Fork the repository to your profile.
  2. Clone your repository by running the following command in your terminal:
    git clone <your-repository-url>

Server Setup

  1. Change directory to the root of the cloned repository
    cd CourseHub
  2. Change directory to the server folder
    cd server
  3. Install the required npm packages
    npm install
  4. Create .env file and add DB_NAME and SECRET
    DB_CONNECT = mongodb+srv://<name:password>@cluster0.1uxyuwe.mongodb.net/courses
    SECRET = "Random String";
  5. Start the server
    npm start

Admin Client Setup

  1. Change directory to the Client-Admin folder
    cd ../Client-Admin
  2. Install the required npm packages for the admin client
    npm install
  3. Run the admin client in development mode
    npm run dev

User Client Setup

  1. Change directory to the Client-user folder
    cd ../Client-user
  2. Install the required npm packages for the admin client
    npm install
  3. Run the admin client in development mode
    npm run dev

#licence