{"id":21428830,"url":"https://github.com/mersadhabibi/sabzlearn","last_synced_at":"2025-07-14T10:32:35.543Z","repository":{"id":207719210,"uuid":"719517974","full_name":"MersadHabibi/Sabzlearn","owner":"MersadHabibi","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-13T07:13:38.000Z","size":4331,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-13T07:30:58.863Z","etag":null,"topics":["axios","backend","backend-api","css","expressjs","front-end","frontend","html","izitoast","javascript","nodejs","sabzlearn","swiper","tailwindcss","vite","web","website"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/MersadHabibi.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}},"created_at":"2023-11-16T10:41:54.000Z","updated_at":"2024-03-13T07:31:00.397Z","dependencies_parsed_at":"2023-11-28T19:30:35.798Z","dependency_job_id":"3c4db39d-64de-4393-90ba-784994c0ec6f","html_url":"https://github.com/MersadHabibi/Sabzlearn","commit_stats":null,"previous_names":["mersadhabibi/sabzlearn-website","mersadhabibi/sabzlearn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MersadHabibi%2FSabzlearn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MersadHabibi%2FSabzlearn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MersadHabibi%2FSabzlearn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MersadHabibi%2FSabzlearn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MersadHabibi","download_url":"https://codeload.github.com/MersadHabibi/Sabzlearn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225970897,"owners_count":17553410,"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","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","backend","backend-api","css","expressjs","front-end","frontend","html","izitoast","javascript","nodejs","sabzlearn","swiper","tailwindcss","vite","web","website"],"created_at":"2024-11-22T22:14:59.337Z","updated_at":"2024-11-22T22:14:59.989Z","avatar_url":"https://github.com/MersadHabibi.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SabzLearn\n\nSabzLearn is a Node.js website aimed at providing educational resources to users.\n\n## Description\n\nSabzLearn is a platform designed to facilitate learning by providing educational resources in various subjects. Whether you're a student looking for study materials or a self-learner seeking to expand your knowledge, SabzLearn offers a wide range of resources to cater to your needs.\n\n## Features\n\n- Browse and search for educational resources.\n- Filter resources by subject, topic, or difficulty level.\n- View detailed descriptions and previews of resources.\n- Save favorite resources for later access.\n- Interact with a community of learners through comments and discussions.\n- Regularly updated content to keep users engaged and informed.\n- **Forget Password by MagicLink**: Enables users to reset their passwords securely via email.\n- **OTP Code for Email Verification**: Verifies user email addresses using one-time passwords.\n- **Google Authentication**: Allows users to log in using their Google accounts.\n- **Admin Panel**: Provides administrators with the ability to:\n  - Add, edit, and delete courses.\n  - Add subjects to courses.\n  - Upload videos for each episode.\n\n## Installation\n\nTo run SabzLearn locally, follow these steps:\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/MersadHabibi/Sabzlearn.git\n```\n\n2. Navigate to the project directory:\n\n```bash\ncd SabzLearn\n```\n\n3. Install dependencies for both frontend and backend:\n\n```bash\n# Install frontend dependencies\ncd frontend\nnpm install\n\n# Install backend dependencies\ncd ../backend\nnpm install\n```\n\n4. Add .env file to /backend:\n\n```bash\nDATABASE_URL=\"\"\nSALT=\"\"\nSECRET_KEY=\"\"\n\nREDIS_URL=\"\"\n\n# SmTp Mail Server Configs\nSMTP_HOST=\"\"\nSMTP_PORT=\"\"\nSMTP_USERNAME=\"\"\nSMTP_PASSWORD=\"\"\n\n# Google Auth Configs\n\nCALLBACK_URL=\"http://localhost:3000/api/google/callback\"\nCLIENT_ID=\"\"\nCLIENT_SECRET=\"\"\n```\n\n5. Start the frontend server:\n\n```bash\n# From the frontend directory\nnpm run dev\n# From the backend directory\nnpm run dev\n```\n\n5. Open your web browser and visit http://localhost:8000 to access SabzLearn frontend.\n\n6. Backend API endpoints will be available at http://localhost:3000.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmersadhabibi%2Fsabzlearn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmersadhabibi%2Fsabzlearn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmersadhabibi%2Fsabzlearn/lists"}