{"id":29192491,"url":"https://github.com/btwld/rockets","last_synced_at":"2025-07-02T01:37:05.617Z","repository":{"id":302086328,"uuid":"970275571","full_name":"btwld/rockets","owner":"btwld","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-30T13:08:05.000Z","size":1417,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-30T14:25:04.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/btwld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-04-21T18:58:23.000Z","updated_at":"2025-06-30T13:08:11.000Z","dependencies_parsed_at":"2025-06-30T14:36:56.207Z","dependency_job_id":null,"html_url":"https://github.com/btwld/rockets","commit_stats":null,"previous_names":["btwld/rockets"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/btwld/rockets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btwld%2Frockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btwld%2Frockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btwld%2Frockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btwld%2Frockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btwld","download_url":"https://codeload.github.com/btwld/rockets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btwld%2Frockets/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263061202,"owners_count":23407599,"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":[],"created_at":"2025-07-02T01:37:04.849Z","updated_at":"2025-07-02T01:37:05.605Z","avatar_url":"https://github.com/btwld.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rockets Server\n\n![Rockets Logo](https://raw.githubusercontent.com/conceptadev/rockets/main/assets/rockets-icon.svg)\n\n## Project\n\n[![Codacy](https://app.codacy.com/project/badge/Grade/6b92bb0756ee4664a1403c4688a0d172)](https://www.codacy.com/gh/conceptadev/rockets/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=conceptadev/rockets\u0026utm_campaign=Badge_Grade)\n[![Code Climate Maint](https://img.shields.io/codeclimate/maintainability/conceptadev/rockets?logo=codeclimate)](https://codeclimate.com/github/conceptadev/rockets)\n[![Code Climate Debt](https://img.shields.io/codeclimate/tech-debt/conceptadev/rockets?logo=codeclimate)](https://codeclimate.com/github/conceptadev/rockets)\n[![Codecov](https://codecov.io/gh/conceptadev/rockets/branch/main/graph/badge.svg?token=QXUHV1RP5N)](https://codecov.io/gh/conceptadev/rockets)\n[![GitHub Build](https://img.shields.io/github/actions/workflow/status/conceptadev/rockets/ci-pr-test.yml?logo=github)](https://github.com/conceptadev/rockets/actions/workflows/ci-pr-test.yml)\n[![GH Commits](https://img.shields.io/github/commit-activity/m/conceptadev/rockets?logo=github)](https://github.com/conceptadev/rockets)\n[![GH Last Commit](https://img.shields.io/github/last-commit/conceptadev/rockets?logo=github)](https://github.com/conceptadev/rockets)\n[![GH Contrib](https://img.shields.io/github/contributors/conceptadev/rockets?logo=github)](https://github.com/conceptadev/rockets/graphs/contributors)\n\n```text\nRapid Enterprise Development Toolkit\n```\n\n## Overview\n\n**Rockets Server** is a comprehensive authentication and user management\nsolution for NestJS applications. It provides JWT authentication, user\nmanagement, OTP verification, email notifications, and API documentation\nout of the box.\n\n## 🚀 Quick Start\n\n### Installation\n\n```bash\nnpm install @concepta/rockets-server @concepta/nestjs-typeorm-ext typeorm\n```\n\n### Basic Setup\n\n```typescript\n// app.module.ts\nimport { Module } from '@nestjs/common';\nimport { RocketsServerModule } from '@concepta/rockets-server';\nimport { TypeOrmExtModule } from '@concepta/nestjs-typeorm-ext';\nimport { UserEntity } from './entities/user.entity';\nimport { UserOtpEntity } from './entities/user-otp.entity';\nimport { FederatedEntity } from './entities/federated.entity';\n\n@Module({\n  imports: [\n    TypeOrmExtModule.forRoot({\n      type: 'sqlite',\n      database: ':memory:',\n      synchronize: true,\n      autoLoadEntities: true,\n    }),\n    TypeOrmExtModule.forFeature({\n      user: { entity: UserEntity },\n    }),\n    TypeOrmExtModule.forFeature({\n      userOtp: { entity: UserOtpEntity },\n    }),\n    TypeOrmExtModule.forFeature({\n      federated: { entity: FederatedEntity },\n    }),\n    RocketsServerModule.forRoot({\n      jwt: {\n        settings: {\n          access: { secret: 'your-secret-key' },\n          refresh: { secret: 'your-refresh-secret' },\n        },\n      },\n      services: {\n        mailerService: {\n          sendMail: (options) =\u003e {\n            console.log('Email sent:', options.to);\n            return Promise.resolve();\n          },\n        },\n      },\n    }),\n  ],\n})\nexport class AppModule {}\n```\n\nThat's it! You now have:\n\n- Authentication endpoints (`/auth/login`, `/auth/signup`, etc.)\n- User management (`/user`)\n- OTP verification (`/otp`)\n- API documentation (`/api`)\n\n## 📖 Documentation\n\nFor detailed setup, configuration, and API reference, see:\n\n**[📚 Complete Documentation](./packages/rockets-server/README.md)**\n\n## 🔧 Dependencies\n\nRockets Server is built on top of the\n[nestjs-modules](https://github.com/btwld/nestjs-modules) collection. Visit the\nrepository to explore individual modules for authentication, user management, email,\nand more.\n\n## 🤝 Contributing\n\nThis project is currently in alpha testing, however, feedback is highly appreciated\nand encouraged!\n\nPull requests will be gratefully accepted in the very near future, once we have\nfinalized our Contributor License Agreement.\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the\n[LICENSE.txt](LICENSE.txt) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtwld%2Frockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtwld%2Frockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtwld%2Frockets/lists"}