Skip to content

Jeysiva-apjs/LearnAcademy-OpenSource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3

An open-source course-selling app

A feature-rich full-stack course-selling website using the MERN stack (Node.js, Express.js, MongoDB, and React).

Table of Contents

  1. Admin Dashboard
  2. User Dashboard
  3. Demo video
  4. Built With
  5. Getting Started
  6. Contributing
  7. License

Admin Dashboard

  1. The admin side of the course selling app.
  2. Admins can effortlessly log in or register a new account.
  3. All admins have the power to: ✅ CREATE courses ✏️ UPDATE courses ❌ DELETE courses

User Dashboard

  1. The user side of the course-selling app
  2. Users can conveniently log in or register a new account.
  3. Users get access to a wide range of courses to explore and learn from.
  4. Users can seamlessly purchase their preferred courses! 💡

Demo video

https://youtu.be/7uU38dCcxbs

Built With

  1. React.js
  2. Node.js
  3. Express.js
  4. MongoDB
  5. CSS3

Getting Started

To get a local copy up and running, please follow the simple steps.

Prerequisites

Node.js and npm should be 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 LearnAcademy
  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-admin 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

License

This project is licensed under the MIT License - see the LICENSE file for details.

Happy learning!