{"id":15078074,"url":"https://github.com/mdkaifansari04/node_backend_template","last_synced_at":"2026-02-26T18:04:08.935Z","repository":{"id":249197921,"uuid":"830743441","full_name":"mdkaifansari04/NODE_BACKEND_TEMPLATE","owner":"mdkaifansari04","description":"A scalable Node.js backend template using TypeScript. Includes essential middleware, environment configuration, and testing tools to kickstart your projects.","archived":false,"fork":false,"pushed_at":"2025-03-15T17:23:09.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T17:32:18.517Z","etag":null,"topics":["eslint","express","jest","mongosee","nodejs","nodemon","prettier"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mdkaifansari04.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":"2024-07-18T22:42:24.000Z","updated_at":"2025-03-15T17:23:13.000Z","dependencies_parsed_at":"2024-07-19T07:24:17.931Z","dependency_job_id":"f622e4e5-60c0-4a1d-9fc2-1bbcfa605ec1","html_url":"https://github.com/mdkaifansari04/NODE_BACKEND_TEMPLATE","commit_stats":null,"previous_names":["mdkaifansari04/node_backend_template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdkaifansari04%2FNODE_BACKEND_TEMPLATE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdkaifansari04%2FNODE_BACKEND_TEMPLATE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdkaifansari04%2FNODE_BACKEND_TEMPLATE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdkaifansari04%2FNODE_BACKEND_TEMPLATE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdkaifansari04","download_url":"https://codeload.github.com/mdkaifansari04/NODE_BACKEND_TEMPLATE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243896294,"owners_count":20365353,"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":["eslint","express","jest","mongosee","nodejs","nodemon","prettier"],"created_at":"2024-09-25T05:00:28.124Z","updated_at":"2026-02-26T18:04:01.880Z","avatar_url":"https://github.com/mdkaifansari04.png","language":"TypeScript","readme":"# Node.js Backend Template\n\nThis is a simple and scalable Node.js backend template designed to kickstart your project. It includes basic setup and common middleware, written in TypeScript.\n\n## Features\n\n- Basic Express server setup\n- Environment variable configuration\n- Essential middleware integration (e.g., compression, cors, helmet, morgan)\n- TypeScript support\n- Jest for testing\n- Prettier for code formatting\n- Structured folder layout for scalability\n\n## Prerequisites\n\n- Node.js (v14 or higher recommended)\n- npm\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/mdkaifansari04/NODE_BACKEND_TEMPLATE.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd your-repo-name\n   ```\n\n3. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n## Usage\n\n### Start the development server:\n\n```bash\nnpm run dev\n```\n\n### Start the production server:\n\n```bash\nnpm start\n```\n\nThe server will be running at: [http://localhost:5000](http://localhost:5000)\n\n## Running Tests\n\nTo run tests:\n\n```bash\nnpm test\n```\n\nTo run tests in watch mode:\n\n```bash\nnpm run test:watch\n```\n\nTo check test coverage:\n\n```bash\nnpm run test:coverage\n```\n\n## Formatting Code\n\nTo format the code with Prettier:\n\n```bash\nnpm run format\n```\n\n## Project Structure\n\n```plaintext\nyour-repo-name/\n├── node_modules/\n├── src/\n│   ├── api/\n│   │   └── v1/\n│   │       ├── controllers/\n│   │       ├── models/\n│   │       └── routes/\n│   ├── helpers/\n│   ├── middleware/\n│   ├── types/\n│   ├── validation/\n│   └── app.ts\n├── .env\n├── .gitignore\n├── jest.config.js\n├── package.json\n├── tsconfig.json\n├── README.md\n└── ... (additional files)\n```\n\n## Contributing\n\nContributions are welcome! Please fork the repository and create a pull request.\n\n## License\n\nThis project is licensed under the ISC License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdkaifansari04%2Fnode_backend_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdkaifansari04%2Fnode_backend_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdkaifansari04%2Fnode_backend_template/lists"}