Padhai Kro is a full-stack EdTech web application built using the MERN stack (MongoDB, Express.js, React, and Node.js). The platform enables instructors to create and sell courses, and allows students to browse and purchase courses to enhance their learning experience.
- Browse Courses: Explore a wide variety of courses across multiple categories.
- Course Details: View detailed information about each course, including the instructor, curriculum, and price.
- Purchase Courses: Securely purchase courses and access them after payment.
- User Dashboard: Track purchased courses and manage your learning journey.
- Create Courses: Design and upload course content, including videos, descriptions, and pricing.
- Manage Courses: Edit or delete existing courses as needed.
- Sales Dashboard: Monitor sales performance and revenue statistics.
- User Authentication: Secure login and registration system using JSON Web Tokens (JWT).
- Responsive Design: Fully responsive UI built with React, ensuring compatibility across devices.
- Secure Payments: Integration with Razorpay for seamless transactions.
- Search Functionality: Quickly find courses using keywords and filters.
- Admin Panel: Manage users, courses, and monitor overall platform activity.
- Media Management: Store and manage images and videos using Cloudinary.
- React.js: For building the user interface.
- Tailwind CSS: For styling and responsive design.
- Redux: For state management, including user sessions and cart data.
- Node.js: For building the server-side logic.
- Express.js: For creating RESTful APIs.
- MongoDB: For storing user data, course information, and transaction details.
- Razorpay: For secure and efficient payment processing.
- Cloudinary: For storing and serving images and videos efficiently.
- JSON Web Tokens (JWT): For secure user authentication and session management.
- CORS (Cross-Origin Resource Sharing): For secure serving and handling the requests.
- Vercel: For deploying the frontend.
- Render/Heroku (or similar): For deploying the backend.
Live Demo Check out the live version of the application: Padhai Kro
Dummy I'd for checkups as follow:->
- dummyinstructor1@padhaikro.com
- dummyinstructor2@padhaikro.com
- dummystudent1@padhaikro.com
- dummystudent1@padhaikro.com Password for all four account is "1234"
-
Clone the repository:
git clone https://github.com/Amankumarjha15/PadhaiKro.git cd PadhaiKro
-
Install dependencies for both frontend and backend:
cd frontend npm install cd ../backend npm install
-
Set up environment variables:
- Create a
.env
file in thebackend
folder and add the following:PORT=5000 MONGO_URI=your_mongo_connection_string JWT_SECRET=your_jwt_secret RAZORPAY_KEY_ID=your_razorpay_key_id RAZORPAY_KEY_SECRET=your_razorpay_key_secret CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name CLOUDINARY_API_KEY=your_cloudinary_api_key CLOUDINARY_API_SECRET=your_cloudinary_api_secret
- Create a
-
Start the development server:
- For the backend:
cd backend npm start
- For the frontend:
cd frontend npm start
- For the backend:
-
Access the application at
http://localhost:3000
.
PadhaiKro
├── frontend
│ ├── src
│ │ ├── components
│ │ ├── pages
│ │ ├── redux
│ │ └── App.js
│ └── package.json
├── backend
│ ├── models
│ ├── routes
│ ├── controllers
│ ├── middleware
│ └── server.js
└── README.md
Contributions are welcome! Follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add your message here"
- Push to the branch:
git push origin feature-name
- Create a pull request.
This project is licensed under the MIT License.
For any queries or feedback, feel free to reach out!