{"id":28092349,"url":"https://github.com/techysiddhant/10xcoder-backend","last_synced_at":"2025-10-28T20:25:08.356Z","repository":{"id":283296115,"uuid":"951278964","full_name":"techysiddhant/10xcoder-backend","owner":"techysiddhant","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-08T11:26:25.000Z","size":398,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T12:26:51.022Z","etag":null,"topics":["hono","honojs","nodejs","postgres","serverless","supabase-db","vercel","vercel-serverless"],"latest_commit_sha":null,"homepage":"https://no-name-backend.vercel.app","language":"TypeScript","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/techysiddhant.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-03-19T12:39:58.000Z","updated_at":"2025-05-18T09:02:46.000Z","dependencies_parsed_at":"2025-04-05T07:23:20.837Z","dependency_job_id":"26fc1f43-de76-435b-a79e-899c0ce2698c","html_url":"https://github.com/techysiddhant/10xcoder-backend","commit_stats":null,"previous_names":["techysiddhant/no-name-backend","techysiddhant/10xcoder-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techysiddhant/10xcoder-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techysiddhant%2F10xcoder-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techysiddhant%2F10xcoder-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techysiddhant%2F10xcoder-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techysiddhant%2F10xcoder-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techysiddhant","download_url":"https://codeload.github.com/techysiddhant/10xcoder-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techysiddhant%2F10xcoder-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259708331,"owners_count":22899575,"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":["hono","honojs","nodejs","postgres","serverless","supabase-db","vercel","vercel-serverless"],"created_at":"2025-05-13T13:02:33.943Z","updated_at":"2025-10-28T20:25:08.303Z","avatar_url":"https://github.com/techysiddhant.png","language":"TypeScript","readme":"# 10xCoder Backend\n\nA robust backend system for the 10xCoder platform built with high-performance technologies for modern web applications.\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Ftechysiddhant%2F10xcoder-backend)\n\n## 🚀 Tech Stack\n\n- **Runtime:** Node.js\n- **Framework:** [Hono](https://hono.dev/) (lightweight, high-performance web framework)\n- **Database:** PostgreSQL\n- **ORM:** [Drizzle ORM](https://orm.drizzle.team/) (TypeScript-first ORM)\n- **Authentication:** [Better Auth](https://better-auth.com/)\n- **Redis:** [Upstash Redis](https://upstash.com/) (serverless Redis)\n- **Queue System:** [Upstash QStash](https://upstash.com/docs/qstash) (serverless message queue)\n- **Email Provider:** [Resend](https://resend.com/)\n- **Deployment:** [Vercel](https://vercel.com/) (serverless deployment)\n\n## 📋 Prerequisites\n\n- Node.js 18.x or higher\n- PostgreSQL database\n- Upstash account (for Redis and QStash)\n- Resend account (for emails)\n- Better Auth account\n\n## 🛠️ Getting Started\n\n### Clone the repository\n\n```bash\ngit clone https://github.com/techysiddhant/10xcoder-backend.git\ncd 10xcoder-backend\n```\n\n### Install dependencies\n\n```bash\npnpm install\n```\n\nWe only use pnpm as the package manager for this project.\n\n### Environment Setup\n\nCreate a `.env` file in the root directory based on the provided `.env.example` file:\n\n```bash\n# Copy the example env file and update with your configurations\ncp .env.example .env\n```\n\nMake sure to fill in all the required environment variables before running the application.\n\n### Database Setup\n\nRun the database migrations:\n\n```bash\npnpm db:migrate\n```\n\n### Start Development Server\n\n```bash\npnpm dev\n```\n\nThis will start the development server on `http://localhost:8787` by default.\n\n## 📦 Project Structure\n\n```\n├── src/\n│   ├── routes/       # API routes\n│   ├── db/           # Database models and migrations\n│   ├── emails/       # Email templates and sending logic\n│   ├── middlewares/  # Custom middleware\n│   ├── lib/          # library functions \n│   └── index.ts      # Main entry point\n├── .env.example      # Example environment variables\n├── package.json\n└── README.md\n```\n\n## 🔄 API Endpoints\n\n### API Documentation\n\n- **API Documentation:** `/reference`\n- **Auth API Documentation:** `/api/auth/reference`\n\nThese endpoints provide interactive documentation for all available API endpoints in the system.\n\n\n## 🤝 Contributing\n\nWe welcome contributions to the 10xCoder Backend! Please follow these steps:\n\n1. **Fork the repository**\n   - Click the \"Fork\" button at the top right of the repository page on GitHub\n\n2. **Clone your fork**\n   ```bash\n   git clone https://github.com/YOUR-USERNAME/10xcoder-backend.git\n   cd 10xcoder-backend\n   ```\n\n3. **Create a branch for your feature**\n   ```bash\n   git checkout -b feature/amazing-feature\n   ```\n\n4. **Make your changes**\n   - Implement your feature or bug fix\n   - Add or update tests as necessary\n   - Ensure your code follows the project's style guidelines\n\n5. **Commit your changes**\n   - Follow the commit message guidelines (see below)\n   ```bash\n   git commit -m \"feat(component): add amazing feature\"\n   ```\n\n6. **Push to your branch**\n   ```bash\n   git push origin feature/amazing-feature\n   ```\n\n7. **Open a Pull Request**\n   - Go to the original repository on GitHub\n   - Click \"New Pull Request\"\n   - Select your fork and branch\n   - Add a description of your changes\n   - Submit the pull request for review\n\n### Development Guidelines\n\n- Follow the established code style and patterns\n- Write tests for new features\n- Update documentation as needed\n- Keep pull requests focused on a single concern\n\n### Commit Message Guidelines\n\nWe use [commitlint](https://commitlint.js.org/) to enforce consistent commit messages. All commit messages should follow the [Conventional Commits](https://www.conventionalcommits.org/) specification.\n\nFormat: `\u003ctype\u003e(\u003cscope\u003e): \u003csubject\u003e`\n\n#### Types\n- **feat**: A new feature\n- **fix**: A bug fix\n- **docs**: Documentation only changes\n- **style**: Changes that do not affect the meaning of the code (white-space, formatting, etc)\n- **refactor**: A code change that neither fixes a bug nor adds a feature\n- **perf**: A code change that improves performance\n- **test**: Adding missing tests or correcting existing tests\n- **chore**: Changes to the build process or auxiliary tools and libraries\n\n#### Examples\n\n```\nfeat(auth): add email verification\nfix(api): resolve CORS policy issue\ndocs(readme): update deployment instructions\nrefactor(db): optimize user queries\ntest(api): add tests for user endpoints\n```\n\nThese commit conventions help in automatically generating changelogs and determining semantic version bumps.\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 📧 Contact\n\nIf you have any questions or suggestions, please open an issue on GitHub or contact the maintainers:\n\n- Siddhant - [@techysiddhant](https://github.com/techysiddhant)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechysiddhant%2F10xcoder-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechysiddhant%2F10xcoder-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechysiddhant%2F10xcoder-backend/lists"}