Welcome to the Course Selling App! This is a web application built with React for the frontend, Recoil for state management, MongoDB as the database, and Node.js for the backend server. This app allows you to browse and purchase a wide range of courses, making learning a breeze.
- Browse a diverse selection of courses.
- Search and filter courses by category, level, and more.
- View course details, including descriptions, instructors, and pricing.
- User authentication and profile management.
- Admin panel for course and user management.
- Responsive design for seamless mobile and desktop experiences.
These instructions will help you set up the project on your local machine for development and testing purposes.
Before you begin, ensure you have met the following requirements:
- Node.js installed.
- MongoDB installed and running locally or on a remote server.
- Git installed (optional).
-
Clone the repository:
git clone https://github.com/your-username/course-selling-app.git
Or download and extract the ZIP file from GitHub.
-
Navigate to the project directory:
cd course-selling-app
-
Install the frontend and backend dependencies:
# Install frontend dependencies cd client npm install # Install backend dependencies cd ../server npm install
-
Create a
.env
file in theserver
directory and configure your environment variables:PORT=3000 MONGODB_URL= your mongo db client url JWT_SECRET=your-secret-key
Replace
your-secret-key
with a secure key for JWT authentication.
-
Start the backend server:
cd server npm start
-
Start the frontend development server:
cd client npm start
-
Open your web browser and navigate to
http://localhost:3000
to access the Course Selling App. -
Use the app to explore courses, add them to your cart, and complete the checkout process.
- React - Frontend JavaScript library
- Recoil - State management for React
- Node.js - JavaScript runtime for the backend
- MongoDB - NoSQL database
- Express - Node.js web application framework
- JWT - JSON Web Tokens for authentication
This project is licensed under the MIT License.