{"id":15007564,"url":"https://github.com/fadhlaouir/create-express-node-starter","last_synced_at":"2025-10-04T07:59:44.586Z","repository":{"id":228399600,"uuid":"773897670","full_name":"fadhlaouir/create-express-node-starter","owner":"fadhlaouir","description":"Set up a modern Express.js web app with just one command. Simplify your project setup and jumpstart your development process effortlessly.","archived":false,"fork":false,"pushed_at":"2024-05-24T10:20:07.000Z","size":484,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T00:07:10.921Z","etag":null,"topics":["authentication","boilerplate","express","express-nodejs","mongodb","multer","nodejs","nodemailer","npmjs","rest-api","starter","starter-project"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/create-express-node-starter","language":"JavaScript","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/fadhlaouir.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-18T15:36:16.000Z","updated_at":"2025-04-24T13:30:06.000Z","dependencies_parsed_at":"2024-03-28T12:52:54.944Z","dependency_job_id":"9c03c6e4-1e41-43fb-8962-82ae47f4bd75","html_url":"https://github.com/fadhlaouir/create-express-node-starter","commit_stats":null,"previous_names":["fadhlaouir/create-express-node-starter"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/fadhlaouir/create-express-node-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadhlaouir%2Fcreate-express-node-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadhlaouir%2Fcreate-express-node-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadhlaouir%2Fcreate-express-node-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadhlaouir%2Fcreate-express-node-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fadhlaouir","download_url":"https://codeload.github.com/fadhlaouir/create-express-node-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadhlaouir%2Fcreate-express-node-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278283511,"owners_count":25961311,"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-10-04T02:00:05.491Z","response_time":63,"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":["authentication","boilerplate","express","express-nodejs","mongodb","multer","nodejs","nodemailer","npmjs","rest-api","starter","starter-project"],"created_at":"2024-09-24T19:11:27.667Z","updated_at":"2025-10-04T07:59:44.550Z","avatar_url":"https://github.com/fadhlaouir.png","language":"JavaScript","readme":"# create-express-node-starter\n\nCLI tool for bootstrapping Express.js projects with a predefined template.\n\n[![Author](http://img.shields.io/badge/author-@rfadhlaoui-blue.svg)](https://tn.linkedin.com/in/fadhlaouiraed)\n[![GitHub license](https://img.shields.io/github/license/maitraysuthar/rest-api-nodejs-mongodb.svg)](https://github.com/fadhlaouir/express-node-starter/blob/main/LICENSE)\n[![Downloads](https://img.shields.io/npm/dt/create-express-node-starter.svg)](https://www.npmjs.com/package/create-express-node-starter)\n\n## Overview\n\n`create-express-node-starter` is a versatile CLI tool designed to streamline the process of setting up a new Express.js project with Node.js. It provides a comprehensive boilerplate with essential features such as authentication, MongoDB integration, Swagger API documentation, and more, enabling developers to kick-start their API development journey quickly and efficiently.\n\n## Features\n\n- **Express.js Integration:** Built on top of Express.js, a fast, unopinionated, minimalist web framework for Node.js.\n- **MongoDB Support:** Seamlessly integrates MongoDB, a popular NoSQL database, for efficient data storage and retrieval.\n- **Authentication and Authorization:** Includes pre-configured authentication and authorization middleware for securing endpoints.\n- **Swagger API Documentation:** Automatically generates API documentation using Swagger UI Express, simplifying API exploration and testing.\n- **Flexible Project Structure:** Follows a modular project structure that promotes scalability, maintainability, and code organization.\n- **Extensible:** Easily extend and customize the boilerplate to suit your specific project requirements.\n\n## Project Templates\n\n`create-express-node-starter` now offers three project templates to choose from:\n\n- **Basic Project 🌱:** A basic Express.js project with Node.js and MongoDB setup.\n- **Product CRUD 🚀:** An Express.js project with product CRUD operations.\n- **User CRUD AUTHENTIFICATION 🔒:** An Express.js project with user CRUD operations and authentication (register and login).\n\n## Installation\n\n1. **Install CLI Tool:**\n   Before using `npx` to create a new Express.js project, make sure to install the CLI tool globally by running:\n\n   - For Windows:\n\n     ```bash\n     npm install -g create-express-node-starter\n     ```\n\n   - For macOS or Linux:\n     ```bash\n     sudo npm install -g create-express-node-starter\n     ```\n\n2. **Create a New Project:**\n   To create a new Express.js project using `create-express-node-starter`, run:\n\n- For Windows:\n\n```bash\n npx create-express-node-starter\n```\n\n- For macOS or Linux:\n\n```bash\nsudo npx create-express-node-starter\n```\n\n3. **Follow the Prompts:**\n   The CLI tool will guide you through the process of setting up your new project, allowing you to customize various options such as project name, description, author, and more.\n\n## Getting Started\n\n1. **Navigate to Project Directory:**\n   After creating your new Express.js project, navigate to the project directory using the following command:\n\n```bash\ncd \u003cproject-name\u003e\n```\n\n2. **Install Dependencies:**\n   Install the project dependencies by running:\n\n```bash\nnpm install\n```\n\n3. **Configure Environment Variables:**\n   copy the `.env.example` file to `.env` and update the environment variables as needed.\n\n4. **Start Development:**\n   Navigate to your project directory and run the following command to start the development server:\n\n- For Windows:\n  ```\n  npm run develop\n  ```\n- For macOS or Linux:\n  ```\n  npm run develop:mac\n  ```\n\n5. **Explore API Documentation:**\n   Access the Swagger API documentation at [http://localhost:5000/api-docs](http://localhost:5000/api-docs) to explore and test your API endpoints.\n\n6. **Generate CRUD Operations:**\n   After running the project, you can create CRUD operations using the following command:\n\n```bash\n   npm run crud:operation\n```\n\nThis command will create controllers, routes, and models for your CRUD operations. Choose between empty and minimal templates or remove existing CRUD components.\n\n## Contributing\n\nContributions are welcome! If you have suggestions, feature requests, or bug reports, please open an issue on the GitHub repository. Pull requests are also encouraged. Please read the [CONTRIBUTING.md](CONTRIBUTING.md) file for more details.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n# Sponsor on Buy Me a Coffee\n\nIf you find this project valuable, consider supporting us through Buy Me a Coffee. Your sponsorship helps us maintain and improve the project, ensuring better features, updates, and support for the community.\n\n\u003ca href=\"https://www.buymeacoffee.com/fadhlaouir\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n","funding_links":["https://www.buymeacoffee.com/fadhlaouir"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadhlaouir%2Fcreate-express-node-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffadhlaouir%2Fcreate-express-node-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadhlaouir%2Fcreate-express-node-starter/lists"}