{"id":29607514,"url":"https://github.com/zxypro1/smart-learning","last_synced_at":"2025-07-31T06:33:55.328Z","repository":{"id":305003178,"uuid":"1021575744","full_name":"zxypro1/smart-learning","owner":"zxypro1","description":"AI-powered self learning website","archived":false,"fork":false,"pushed_at":"2025-07-17T18:31:58.000Z","size":10521,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-17T19:16:42.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://smart-learning-eta.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zxypro1.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,"zenodo":null}},"created_at":"2025-07-17T15:53:43.000Z","updated_at":"2025-07-17T18:32:02.000Z","dependencies_parsed_at":"2025-07-17T22:23:00.152Z","dependency_job_id":null,"html_url":"https://github.com/zxypro1/smart-learning","commit_stats":null,"previous_names":["zxypro1/smart-learning"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/zxypro1/smart-learning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxypro1%2Fsmart-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxypro1%2Fsmart-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxypro1%2Fsmart-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxypro1%2Fsmart-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxypro1","download_url":"https://codeload.github.com/zxypro1/smart-learning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxypro1%2Fsmart-learning/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267998450,"owners_count":24178548,"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-07-31T02:00:08.723Z","response_time":66,"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":[],"created_at":"2025-07-20T18:34:04.813Z","updated_at":"2025-07-31T06:33:55.319Z","avatar_url":"https://github.com/zxypro1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[简体中文](README.zh.md)\n\n# Smart Learning - AI-Powered Intelligent Learning Platform\n\n![Vercel](https://img.shields.io/badge/Vercel-000000?style=for-the-badge\u0026logo=vercel\u0026logoColor=white)\n![Next.js](https://img.shields.io/badge/Next.js-000000?style=for-the-badge\u0026logo=next.js\u0026logoColor=white)\n![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)\n![PostgreSQL](https://img.shields.io/badge/PostgreSQL-4169E1?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white)\n![Prisma](https://img.shields.io/badge/Prisma-2D3748?style=for-the-badge\u0026logo=prisma\u0026logoColor=white)\n\nSmart Learning is an AI-driven online platform dedicated to transforming the way courses are created, learned, and shared. Users can leverage powerful AI capabilities to quickly generate well-structured and content-rich online courses from a simple idea.\n\n## ✨ Key Features\n\n*   **🤖 AI Course Generation**: Input a topic, and the AI will automatically generate a complete course outline and detailed chapter content for you.\n*   **💻 Interactive Learning Experience**: Provides various learning tools such as Flashcards and Quizzes to reinforce learning outcomes.\n*   **🌐 Course Marketplace \u0026 Community**: You can publish your created courses to the marketplace to share knowledge with other users, or learn from courses published by others.\n*   **✍️ Course Studio**: Freely modify, refine, and manage your courses in a powerful editor.\n*   **👤 Personalized Learning**: Offers personalized learning suggestions based on your progress and quiz results.\n\n## 🛠️ Tech Stack\n\n*   **Frontend**: [Next.js](https://nextjs.org/), [React](https://reactjs.org/), [TypeScript](https://www.typescriptlang.org/)\n*   **UI Component Library**: [Mantine](https://mantine.dev/)\n*   **Backend**: [Next.js API Routes](https://nextjs.org/docs/api-routes/introduction)\n*   **Database**: [PostgreSQL](https://www.postgresql.org/)\n*   **ORM**: [Prisma](https://www.prisma.io/)\n*   **Styling**: [PostCSS](https://postcss.org/), [Stylelint](https://stylelint.io/)\n*   **Testing**: [Jest](https://jestjs.io/), [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/)\n\n## 🚀 Local Development Setup\n\nFollow these steps to set up and run the project in your local environment.\n\n### 1. Prerequisites\n\n*   [Node.js](https://nodejs.org/) (It is recommended to use the version specified in the `.nvmrc` file)\n*   [npm](https://www.npmjs.com/) (Please do not use `yarn`)\n*   [PostgreSQL](https://www.postgresql.org/download/) Database\n\n### 2. Clone the Project\n\n```bash\ngit clone https://github.com/your-username/smart-learning.git\ncd smart-learning\n```\n\n### 3. Install Dependencies\n\n```bash\nnpm install\n```\n\n### 4. Set Up Environment Variables\n\nCopy the `.env.example` file and rename it to `.env.local`.\n\n```bash\ncp .env.example .env.local\n```\n\nThen, modify the `DATABASE_URL` connection string and other necessary environment variables in the `.env.local` file according to your local setup.\n\n### 5. Database Migration\n\nPrisma manages the database schema based on the `prisma/schema.prisma` file. Run the following command to sync your database schema:\n\n```bash\nnpx prisma migrate dev\n```\n\n### 6. Run the Development Server\n\n```bash\nnpm run dev\n```\n\n\u003e **Note**: According to the project's context, the `npm run dev` command might get stuck. If you encounter this issue, try restarting it or checking your environment configuration.\n\nNow, you can open `http://localhost:3000` in your browser to access the project.\n\n## ✅ Testing\n\nUse the following command to run the Jest test suite:\n\n```bash\nnpm test\n```\n\n## 🤝 Contributing\n\nWe welcome all forms of contributions! If you have any ideas, suggestions, or have found a bug, please feel free to open an Issue or submit a Pull Request.\n\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxypro1%2Fsmart-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxypro1%2Fsmart-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxypro1%2Fsmart-learning/lists"}