This repository contains the source code for a comprehensive Course Selling App built using the MERN stack (MongoDB, Express, React, Node.js). This application allows users to browse, purchase, and enroll in courses, while administrators can manage courses, users, and transactions.
- MongoDB: NoSQL database for efficient data storage and retrieval.
- Express: Backend framework for building robust APIs.
- React: Modern frontend library for building responsive user interfaces.
- Node.js: Server-side JavaScript runtime for scalable network applications.
- Authentication: Secure user authentication and authorization.
- Course Management: CRUD operations for courses, categories, and content.
- User Dashboard: Personalized dashboard for users to track their courses and progress.
- Admin Dashboard: Comprehensive admin panel for managing users, courses, and transactions.
Ensure you have the following installed:
- Node.js
- npm or yarn
- MongoDB
-
Clone the repository:
git clone https://github.com/Ghazali32/Learn-Wise.git cd course-selling-app
-
Install dependencies:
cd backend npm install # or yarn install cd ../frontend npm install # or yarn install
-
Set up the database: Start MongoDB. Update the database connection settings in the backend configuration file.
-
Start the development server:
-
Backend:
node index.js
-
Frontend
cd ../ cd frontend npm install start the server: ```bash npm run dev
Visit http://localhost:5173 in your browser to see the application in action.
You can use the following login credentials to test the application:
Email: [email protected] Password: 12345678
Email: [email protected] Password: 12345678
Email: [email protected] Password: 12345678
Email: [email protected] Password: 12345678