{"id":25923917,"url":"https://github.com/yousifpa98/fast-express-gen","last_synced_at":"2026-04-11T17:03:09.136Z","repository":{"id":274618482,"uuid":"923503166","full_name":"yousifpa98/fast-express-gen","owner":"yousifpa98","description":"A CLI tool that rapidly scaffolds a complete Express.js boilerplate with built-in middleware, modular routing, error handling, and hot-reloading support. Choose between JavaScript or TypeScript to kickstart your backend development with a secure and scalable setup.","archived":false,"fork":false,"pushed_at":"2025-02-24T09:31:53.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T10:25:49.916Z","etag":null,"topics":["backend","backend-api","boilerplate","express","expressjs","npm-package"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/yousifpa98.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}},"created_at":"2025-01-28T11:13:28.000Z","updated_at":"2025-02-24T09:31:58.000Z","dependencies_parsed_at":"2025-01-28T12:25:12.830Z","dependency_job_id":"cf3e3991-f1ba-4887-96a6-fc414b691792","html_url":"https://github.com/yousifpa98/fast-express-gen","commit_stats":null,"previous_names":["yousifpa98/fast-express-gen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yousifpa98%2Ffast-express-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yousifpa98%2Ffast-express-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yousifpa98%2Ffast-express-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yousifpa98%2Ffast-express-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yousifpa98","download_url":"https://codeload.github.com/yousifpa98/fast-express-gen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241705917,"owners_count":20006399,"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":["backend","backend-api","boilerplate","express","expressjs","npm-package"],"created_at":"2025-03-03T17:18:51.821Z","updated_at":"2025-12-31T01:04:37.476Z","avatar_url":"https://github.com/yousifpa98.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast Express Gen\n\n🚀 **Fast Express Gen** is a CLI tool designed to generate a complete Express.js boilerplate in seconds. It provides a robust starting point for backend development with pre-configured features like middleware, routing, and error handling. Now supports both **JavaScript** and **TypeScript**!\n\n---\n\n## 🌟 Features\n\n- **Express.js Setup**: Fully configured Express server with modular architecture.\n- **Middlewares**: Pre-installed and configured middlewares for security, logging, and compression.\n- **Customization**: Choose your project name and whether to use JavaScript or TypeScript.\n- **Developer-Friendly**: Includes `nodemon` for hot-reloading and a `README.md` template for your generated project.\n\n---\n\n## 📦 Installation\n\nYou can use `npx` to run the CLI directly or install it globally.\n\n### Using `npx`\n```bash\nnpx fast-express-gen\n```\n\n### Global Installation\n```bash\nnpm install -g fast-express-gen\n```\n\n---\n\n## 🛠️ Usage\n\n### Create a New Project\nRun the following command to generate your project:\n```bash\nfast-express-gen \u003cproject-name\u003e\n```\n\nExample:\n```bash\nfast-express-gen my-awesome-api\n```\n\nYou will then be prompted to select **JavaScript** or **TypeScript** for your project.\n\nThis will create a new directory `my-awesome-api` with a ready-to-use Express.js boilerplate.\n\n---\n\n## 🖇️ Project Structure\n\nBelow is the structure of the generated project:\n\n### **JavaScript Version**\n```\n\u003cproject-name\u003e/\n├── nodemon.json\n├── package.json\n├── README.md\n└── src/\n    ├── app.js\n    ├── controllers/\n    │   └── homeController.js\n    ├── middleware/\n    │   └── logger.js\n    ├── routes/\n    │   └── index.js\n    └── server.js\n```\n\n### **TypeScript Version**\n```\n\u003cproject-name\u003e/\n├── nodemon.json\n├── package.json\n├── tsconfig.json\n├── README.md\n└── src/\n    ├── app.ts\n    ├── controllers/\n    │   └── homeController.ts\n    ├── middleware/\n    │   └── logger.ts\n    ├── routes/\n    │   └── index.ts\n    └── server.ts\n```\n\n---\n\n## ⚙️ Features in Detail\n\n1. **Security**:\n   - Integrated `helmet` for secure HTTP headers.\n   - CORS (Cross-Origin Resource Sharing) enabled for flexible API usage.\n\n2. **Error Handling**:\n   - Centralized error handling middleware.\n\n3. **Logging**:\n   - Request logging with `morgan`.\n\n4. **Hot Reload**:\n   - Pre-configured `nodemon` for live reloading during development.\n\n---\n\n## ✨ Example Output\n\n### Console\n```\nWelcome to fast-express-gen!\n✔ Project name: my-awesome-api\n✔ Choose your project language: TypeScript\nCreating TypeScript project in /path/to/my-awesome-api...\nInstalling dependencies...\nYour Express project is ready! 🚀\n\nRun the following commands to get started:\n\ncd my-awesome-api\nnpm run dev\n```\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! If you'd like to improve this tool, feel free to fork the repository and open a pull request.\n\n[GitHub](https://github.com/yousifpa98/fast-express-gen)\n\n---\n\n## 📝 License\n\nThis project is licensed under the **MIT License**.\n\n---\n\n## 💬 Questions or Feedback?\n\nIf you have any questions, suggestions, or feedback, please reach out to the repository owner. Happy coding! 😊","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyousifpa98%2Ffast-express-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyousifpa98%2Ffast-express-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyousifpa98%2Ffast-express-gen/lists"}