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
- Admin Dashboard
- User Dashboard
- Demo video
- Built With
- Getting Started
- Contributing
- License
Admin Dashboard
- The admin side of the course selling app.
- Admins can effortlessly log in or register a new account.
- All admins have the power to:
✅ CREATE courses
✏️ UPDATE courses
❌ DELETE courses
User Dashboard
- The user side of the course-selling app
- Users can conveniently log in or register a new account.
- Users get access to a wide range of courses to explore and learn from.
- Users can seamlessly purchase their preferred courses! 💡
Demo video
https://youtu.be/7uU38dCcxbs
Built With
- React.js
- Node.js
- Express.js
- MongoDB
- 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
- Fork the repository to your profile.
- Clone your repository by running the following command in your terminal:
git clone <your-repository-url>
Server Setup
- Change directory to the root of the cloned repository
cd LearnAcademy
- Change directory to the server folder
cd server
- Install the required npm packages
npm install
- Create .env file and add DB_NAME and SECRET
DB_CONNECT = mongodb+srv://<name:password>@cluster0.1uxyuwe.mongodb.net/courses
SECRET = "Random String";
- Start the server
npm start
Admin Client Setup
-
Change directory to the client-admin folder
cd ../client-admin
-
Install the required npm packages for the admin client
npm install
-
Run the admin client in development mode
npm run dev
User Client Setup
-
Change directory to the client-admin folder
cd ../client-user
-
Install the required npm packages for the admin client
npm install
-
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!