This project is a Course Selling Website built using React and nodejs. It allows users to #, #, and browse through various courses. Admins can manage courses, add new ones, and update them through a dashboard connected to a MongoDB backend.
- User Authentication: Users can # and log in.
- Courses: Users can view a list of available courses.
- Admin Dashboard:
- Add, update, and delete courses.
- Manage course details including title, description, price, and more.
- MongoDB Integration: All course and user data is stored in MongoDB.
- Frontend:
- HTML, CSS, JavaScript
- React.js for building UI components
- Backend:
- Node.js and Express.js for server-side logic
- MongoDB as the database for storing courses and users
- Authentication:
- JWT (JSON Web Tokens) for user authentication and authorization
- State Management:
- React Context API for managing global state
- Axios: For making HTTP requests to the backend
- Material-UI: For UI components like tables, dialog boxes, etc.
- Installation and Setup
git clone https://github.com/Ajay1812/course-selling-admin.git
cd course-selling-admin
- Install dependencies: Navigate to the project directory and install the required packages for both frontend and backend:
cd course-selling-app/admin-client
npm install
cd ..
cd server
npm install
- Set up MongoDB:
- Ensure MongoDB is installed and running on your system.
- Create a .env file in the root directory and add your MongoDB connection string:
MONGO_USER=your-mongodb-user
MONGO_PASSWORD=your-secret-password
SECRET_JWT=your-secret
- Run the application: Start both the frontend and backend servers on PORT 3000:
cd server
npm start
- Access the website:
- Open your browser and go to http://localhost:3000 to access the website.
- Implement payment gateway integration for course purchases.
- Add course categories and filtering options.
- Improve the UI/UX design with enhanced styling.
- Optimize performance and scalability for a larger user base.