{"id":21673228,"url":"https://github.com/anwarhossainsr/node-express-template","last_synced_at":"2026-04-10T07:08:08.172Z","repository":{"id":191531145,"uuid":"683616690","full_name":"AnwarHossainSR/node-express-template","owner":"AnwarHossainSR","description":"A Node.js Express Template for rapid web app development. Features include Express.js, modular architecture, pre-configured middleware, environment setup, centralized error handling, and sample routes/controllers. Perfect for RESTful APIs or web apps. Fork and customize!","archived":false,"fork":false,"pushed_at":"2024-08-19T17:20:17.000Z","size":1011,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T09:41:55.702Z","etag":null,"topics":["api","backend-api","boilerplate","eslint","express","express-node-template","expressjs","mongodb","node-express","nodejs","project-structure","project-template","rest-api","swagger","swagger-ui-express","template","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/AnwarHossainSR.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}},"created_at":"2023-08-27T06:35:13.000Z","updated_at":"2024-08-19T17:20:21.000Z","dependencies_parsed_at":"2024-08-19T20:08:55.811Z","dependency_job_id":null,"html_url":"https://github.com/AnwarHossainSR/node-express-template","commit_stats":null,"previous_names":["anwarhossainsr/express-api-boilerplat","anwarhossainsr/node-express-template"],"tags_count":0,"template":true,"template_full_name":"AnwarHossainSR/Best-Readme-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnwarHossainSR%2Fnode-express-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnwarHossainSR%2Fnode-express-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnwarHossainSR%2Fnode-express-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnwarHossainSR%2Fnode-express-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnwarHossainSR","download_url":"https://codeload.github.com/AnwarHossainSR/node-express-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244580627,"owners_count":20475939,"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":["api","backend-api","boilerplate","eslint","express","express-node-template","expressjs","mongodb","node-express","nodejs","project-structure","project-template","rest-api","swagger","swagger-ui-express","template","typescript"],"created_at":"2024-11-25T13:37:38.489Z","updated_at":"2026-04-10T07:08:08.131Z","avatar_url":"https://github.com/AnwarHossainSR.png","language":"TypeScript","readme":"\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#roadmap\"\u003eRoadmap\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\n## About The Project\n\n\n# Express API Boilerplate\n\nThis project is a boilerplate for creating RESTful APIs using **Node.js**, **Express**, and **TypeScript**. It is designed to help you quickly set up a solid foundation for your API development, with a focus on best practices and maintainability.\n\n\n### Built With\n\nThis section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.\n\n-   ![Node.js](https://img.shields.io/badge/Node.js-18.x-green)\n-   ![Express](https://img.shields.io/badge/Express-4.18.2-lightgrey)\n-   ![TypeScript](https://img.shields.io/badge/TypeScript-5.2.2-blue)\n-   ![Yarn](https://img.shields.io/badge/Yarn-1.22.0-2c8ebb)\n-   ![ESLint](https://img.shields.io/badge/ESLint-8.48.0-purple)\n-   ![Prettier](https://img.shields.io/badge/Prettier-3.0.3-ff69b4)\n-   ![Swagger](https://img.shields.io/badge/Swagger-UI%20Express-5.0.0-brightgreen)\n-   ![Mongoose](https://img.shields.io/badge/Mongoose-7.5.0-red)\n-   ![JWT](https://img.shields.io/badge/JSONWebToken-9.0.2-orange)\n-   ![Joi](https://img.shields.io/badge/Joi-17.10.0-yellow)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\n## Features\n\n- **Express 4.18.2**: A fast, unopinionated, minimalist web framework for Node.js.\n- **TypeScript 5.2.2**: Strongly typed JavaScript that compiles to plain JavaScript.\n- **Yarn 1.22.0**: Fast, reliable, and secure dependency management.\n- **ESLint 8.48.0** \u0026 **Prettier 3.0.3**: Code quality tools for maintaining a consistent codebase.\n- **JWT 9.0.2**: Secure authentication and authorization with JSON Web Tokens.\n- **Joi 17.10.0**: Schema validation for API request bodies.\n- **Swagger UI Express 5.0.0**: Auto-generated API documentation.\n- **Mongoose 7.5.0**: Elegant MongoDB object modeling for Node.js.\n\n## Setup\n\n1. **Clone the repository**:\n    ```bash\n    git clone https://github.com/yourusername/express-api-boilerplate.git\n    cd express-api-boilerplate\n    ```\n\n2. **Install dependencies**:\n    ```bash\n    yarn install\n    ```\n\n3. **Environment setup**:\n    - Create a `.env` file based on the `.env.example` template.\n\n4. **Running the application**:\n    - **Development**: \n        ```bash\n        yarn dev\n        ```\n    - **Production**:\n        ```bash\n        yarn start\n        ```\n\n5. **Linting and formatting**:\n    ```bash\n    yarn eslint\n    yarn prettier\n    ```\n\n6. **Testing**:\n    - *(Include testing instructions if applicable)*\n\n## Scripts\n\n- `yarn dev`: Starts the development server with TypeScript watch mode.\n- `yarn build`: Compiles TypeScript to JavaScript.\n- `yarn start`: Runs the compiled application.\n- `yarn eslint`: Lints the codebase using ESLint.\n- `yarn prettier`: Formats the codebase using Prettier.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- LICENSE --\u003e\n\n## License\n\nDistributed under the MIT License. See `LICENSE.txt` for more information.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanwarhossainsr%2Fnode-express-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanwarhossainsr%2Fnode-express-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanwarhossainsr%2Fnode-express-template/lists"}