{"library":"typescript-rest-api-generator","type":"library","category":null,"description":"A CLI tool (v1.0.9, last updated in 2022) called Rest API Generator (RAG) that scaffolds TypeScript-based REST APIs using Express, TypeORM, MySQL, and Awilix for dependency injection. It generates a clean, layered architecture (Controller → Service → Repository → Database) with built-in support for JWT authentication and bcrypt password hashing. Unlike generic project starters, it provides code generation commands (rag create controller/service/repository/model) and a full DI container setup out of the box. Note: development appears to have stalled, with no recent commits or releases.","language":"javascript","status":"deprecated","version":"1.0.9","tags":["javascript","cli","node","typescript","generator","rest api"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install typescript-rest-api-generator","imports":["npx rag create new <project-name>","export class ExampleRepository { ... }","export class ExampleService { constructor({ exampleRepository }) { ... } }","export class ExampleController { constructor({ exampleService }) { ... } }"]},{"cmd":"yarn add typescript-rest-api-generator","imports":[]},{"cmd":"pnpm add typescript-rest-api-generator","imports":[]}],"homepage":"https://github.com/subhajitwiner/rest-api-generator","github":"https://github.com/subhajitwiner/rest-api-generator","docs":null,"changelog":null,"pypi":null,"npm":"typescript-rest-api-generator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}