E-Store is a MERN stack-based web application where users can browse and access a variety of courses. The platform offers both free and paid courses. While free courses are accessible on the home screen, users need to log in to view and access paid courses. The project includes user authentication to ensure secure access.
- Course Catalog: Displays a list of available courses (free and paid).
- Free Courses: Accessible to all users directly from the home screen.
- Paid Courses: Requires user authentication to view and access.
- User Authentication: Secure login and registration system.
- Responsive Design: Optimized for various devices.
E-Store is built using the MERN stack:
- MongoDB: For database management.
- Express.js: Backend framework for handling API requests.
- React.js: Frontend library for building user interfaces.
- Node.js: Runtime environment for backend development.
Before running the project, ensure you have the following installed:
- Node.js: Download Node.js
- MongoDB: Download MongoDB
- npm: Comes with Node.js installation.
-
Clone the Repository:
git clone https://github.com/your-username/e-store.git cd e-store -
Install Dependencies:
- Backend dependencies:
cd backend npm install - Frontend dependencies:
cd ../frontend npm install
- Backend dependencies:
-
Configure Environment Variables:
- Create a
.envfile in thebackenddirectory. - Add the following environment variables:
MONGO_URI=your-mongodb-connection-string JWT_SECRET=your-jwt-secret PORT=5000
- Create a
-
Start the Application:
- Start the backend server:
cd backend npm start - Start the frontend server:
cd ../frontend npm start
- Start the backend server:
-
Access the Application:
- Open your browser and navigate to
http://localhost:3000.
- Open your browser and navigate to
E-Store/
├── backend/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── server.js
│ └── .env
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── App.js
│ │ └── index.js
├── README.md
└── package.json
- Install dependencies:
npm install - Start server:
npm start
- Install dependencies:
npm install - Start development server:
npm start
- Add course search and filtering functionality.
- Integrate payment gateway for seamless paid course access.
- Implement admin dashboard for managing courses.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name. - Commit your changes:
git commit -m 'Add some feature'. - Push to the branch:
git push origin feature-name. - Open a pull request.
Demo.video.of.E-learning.mp4
Feel free to explore and contribute to E-Store. Happy coding!