{"id":24794230,"url":"https://github.com/ujjalballen/course-haven","last_synced_at":"2026-04-14T10:33:20.329Z","repository":{"id":273322105,"uuid":"918765095","full_name":"ujjalballen/course-haven","owner":"ujjalballen","description":"CourseHaven is a full-stack online learning platform with course browsing, enrollment, role-based access, secure payments (Stripe), and email notifications. Built with React.js, Node.js with Expressjs, and MongoDB.","archived":false,"fork":false,"pushed_at":"2025-02-16T11:12:42.000Z","size":1013,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T08:55:49.233Z","etag":null,"topics":["axios-interceptor","course-management","e-learning","es6-javascript","firebase","fullstack","javascript","jwt-authentication","mongodb","nodejs","online-learning","payment-integration","react-router","reactjs","responsive-design","role-based-access-control","stripe-integration","tailwindcss","tanstack-query"],"latest_commit_sha":null,"homepage":"https://coursehaven.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ujjalballen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-18T19:47:45.000Z","updated_at":"2025-02-16T11:21:59.000Z","dependencies_parsed_at":"2025-02-19T22:33:37.229Z","dependency_job_id":null,"html_url":"https://github.com/ujjalballen/course-haven","commit_stats":null,"previous_names":["devujjal/course-haven","developerujjal/course-haven","ujjalballen/course-haven"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ujjalballen/course-haven","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjalballen%2Fcourse-haven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjalballen%2Fcourse-haven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjalballen%2Fcourse-haven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjalballen%2Fcourse-haven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ujjalballen","download_url":"https://codeload.github.com/ujjalballen/course-haven/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujjalballen%2Fcourse-haven/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012800,"owners_count":26085187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios-interceptor","course-management","e-learning","es6-javascript","firebase","fullstack","javascript","jwt-authentication","mongodb","nodejs","online-learning","payment-integration","react-router","reactjs","responsive-design","role-based-access-control","stripe-integration","tailwindcss","tanstack-query"],"created_at":"2025-01-29T22:35:10.455Z","updated_at":"2025-10-12T20:30:32.328Z","avatar_url":"https://github.com/ujjalballen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CourseHaven - Online Learning Platform\n\n[**CourseHaven**](https://coursehaven.netlify.app) is a fully functional online learning marketplace designed to provide users with a seamless experience for discovering, enrolling in, and managing courses. The platform caters to both students and admins/instructors, offering a wide range of features to enhance the learning and teaching experience. Built with modern web development technologies, CourseHaven demonstrates my expertise in full-stack development, including frontend, backend, database management, and third-party integrations.\n\n---\n\n## Key Features\n\n### **For Students:**\n1. **Course Browsing and Enrollment:**\n   - Browse courses by category, sort them, and search for specific courses.\n   - View detailed course information.\n   - Enroll in courses or add them to a cart for future purchase.\n   - Apply coupons during checkout for discounts.\n\n2. **User Dashboard:**\n   - Track enrolled courses, completed lessons, and achieved certificates.\n   - Manage cart items and proceed to purchase.\n   - View payment history and update profile information.\n\n3. **Notifications:**\n   - Receive email notifications upon course enrollment using **Nodemailer**.\n\n4. **Secure Payments:**\n   - Integrated **Stripe** payment gateway for secure transactions.\n\n---\n\n### **For Admins:**\n1. **Dashboard:**\n   - View platform statistics, including total courses, students, and revenue data (with a 7-day revenue chart).\n\n2. **Course Management:**\n   - Manage all courses with options to edit, delete, and search/filter and sorting courses.\n   - Add new courses to the platform.\n\n3. **User Management:**\n   - Access and manage student and instructor data.\n   - Remove users from the platform if necessary.\n\n4. **Order Management:**\n   - View all payment histories and order details.\n\n---\n\n## Technologies Used\n\n### **Frontend:**\n- **HTML, CSS, TailwindCSS**: For responsive and modern UI design.\n- **JavaScript, React.js**: For building dynamic and interactive user interfaces.\n- **React Router**: For seamless client-side routing.\n- **TanStack Query (React Query)**: For efficient data fetching and state management.\n- **Axios**: For API requests and interceptors.\n\n### **Backend:**\n- **Node.js with Express**: For building robust and scalable APIs.\n- **MongoDB Atlas**: For database management and storage.\n- **JWT (JSON Web Tokens)**: For secure authentication and authorization.\n- **Nodemailer**: For sending email notifications (e.g., course enrollment confirmation).\n\n### **Authentication \u0026 Authorization:**\n- **Firebase**: For user authentication (login/signup functionality).\n- **Role-Based Access Control (RBAC)**: To differentiate between admin, instructor, and student roles.\n\n### **Payment Integration:**\n- **Stripe**: For secure payment processing.\n\n---\n\n## Functionality Overview\n\n1. **Course Management:**\n   - Admins/instructors can add, edit, and delete courses.\n   - Students can browse, filter, and search for courses based on categories, price, and ratings.\n\n2. **Enrollment System:**\n   - Students can enroll in courses, and enrollment details are saved in the database.\n   - Email notifications are sent to students upon successful enrollment.\n\n3. **User Dashboard:**\n   - Students can view their enrolled courses, track progress, and manage their profiles.\n   - Admins can monitor platform statistics and manage users and courses.\n\n4. **Payment System:**\n   - Integrated with Stripe for secure and seamless payment processing.\n   - Students can apply coupons during checkout for discounts.\n\n5. **Secure Routes and API Endpoints:**\n   - Implemented JWT-based authentication to secure routes and API endpoints.\n   - Role-based access control ensures that only authorized users can access specific features.\n\n---\n\n## Why This Project?\n\nCourseHaven showcases my ability to:\n- Develop a full-stack web application from scratch.\n- Implement complex features like role-based access control, payment integration, and email notifications.\n- Use modern technologies like React, Node.js, MongoDB, and TailwindCSS.\n- Ensure a seamless user experience with responsive design and efficient state management.\n- Demonstrate problem-solving skills by integrating third-party services like Firebase, Stripe, and Nodemailer.\n\n---\n\n## How to Run the Project\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/devujjal/course-haven.git\n\n2. Install dependencies:\n   ```bash\n   cd CourseHaven-Frontend\n   npm install\n   cd CourseHaven-Backend\n   npm install\n\n3. Set up environment variables:\n   ```bash\n   Create a .env file in the root directory and add the necessary keys (e.g., Firebase, Stripe, MongoDB Atlas, Nodemailer).\n\n4. Start the development server:\n   ```bash\n   npm run dev\n   \n\nThis project is a testament to my skills as a full-stack developer and my ability to deliver high-quality, user-centric web applications. Feel free to explore the code and provide feedback!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujjalballen%2Fcourse-haven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fujjalballen%2Fcourse-haven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujjalballen%2Fcourse-haven/lists"}