{"id":18866856,"url":"https://github.com/sarthakjdev/create-express-ts-api","last_synced_at":"2026-02-15T21:32:00.212Z","repository":{"id":61721329,"uuid":"554494137","full_name":"sarthakjdev/create-express-ts-api","owner":"sarthakjdev","description":"A starter to kit for developing  REST API in typescript and express.","archived":false,"fork":false,"pushed_at":"2022-10-29T06:43:32.000Z","size":133,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T00:56:20.446Z","etag":null,"topics":["express","hacktoberfest","nodejs","prisma","rest-api"],"latest_commit_sha":null,"homepage":"","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/sarthakjdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"Contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-19T22:55:23.000Z","updated_at":"2024-06-09T17:25:12.000Z","dependencies_parsed_at":"2023-01-20T14:42:08.637Z","dependency_job_id":null,"html_url":"https://github.com/sarthakjdev/create-express-ts-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sarthakjdev/create-express-ts-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakjdev%2Fcreate-express-ts-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakjdev%2Fcreate-express-ts-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakjdev%2Fcreate-express-ts-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakjdev%2Fcreate-express-ts-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarthakjdev","download_url":"https://codeload.github.com/sarthakjdev/create-express-ts-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakjdev%2Fcreate-express-ts-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29490268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["express","hacktoberfest","nodejs","prisma","rest-api"],"created_at":"2024-11-08T05:07:42.414Z","updated_at":"2026-02-15T21:32:00.182Z","avatar_url":"https://github.com/sarthakjdev.png","language":"JavaScript","readme":"  \u003cstrong\u003e\n    \u003ch1 align=\"center\" \u003ecreate-express-ts-api\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003e\n      A starter to kit for developing  REST API in typescript and express.\n  \u003c/p\u003e\n  \n\u003c!-- PROJECT SHIELDS --\u003e\n\u003cdiv align=\"center\"\u003e\n\n  \u003ca href=\"\"\u003e[![Licence](https://img.shields.io/github/license/Ileriayo/markdown-badges?style=for-the-badge)](./LICENSE)\u003c/a\u003e\n  \u003ca href=\"\"\u003e![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)\u003c/a\u003e\n  \u003ca href=\"\"\u003e[\u003cimg src=\"https://img.shields.io/badge/NPM-%23000000.svg?style=for-the-badge\u0026logo=npm\u0026logoColor=white\"\u003e](https://www.npmjs.com/package/create-express-ts-api)\u003c/a\u003e\n  \u003ca href=\"\"\u003e![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)\u003c/a\u003e\n  \u003ca href=\"\"\u003e![Prisma](https://img.shields.io/badge/Prisma-3982CE?style=for-the-badge\u0026logo=Prisma\u0026logoColor=white)\u003c/a\u003e\n  \u003ca href=\"\"\u003e![Express.js](https://img.shields.io/badge/express.js-%23404d59.svg?style=for-the-badge\u0026logo=express\u0026logoColor=%2361DAFB)\u003c/a\u003e\n\n\u003c/div\u003e\n\n  \n\u003cbr\u003e\u003c/br\u003e\n\n![restapi](https://user-images.githubusercontent.com/72249059/197589566-b2de5f90-1ddb-4d89-9811-e4da022bdd54.jpg)\n\n\n\u003cbr /\u003e\n\n---\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails open=\"open\"\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started \u003c/a\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#Tech-Stack-Used\"\u003eTech stack used\u003c/a\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#Setting-up-Development-DB\"\u003eSetting up Development DB\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#Documentation\"\u003eDocumentation\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n---\n## Getting Started\n\nFollow the instructions to initialize your express-ts-api project using this starter kit:\n\n### Prerequisites\n\nInstall [NodeJS LTS](https://nodejs.org/en/)\n\n- npm\n\n  ```sh\n  npm install npm@latest -g\n  ```\n\n### Initializing the project\n\n1. Initiate your project by using the following npm command:\n\n   ```sh\n   npx create-express-ts-api  \u003cproject-name\u003e\n   ```\n\n   example : `npx create-express-ts-api Firstapi`\n\n2. Install NPM packages\n\n   ```sh\n   npm install\n   ```\n\n   ```After this follow the steps to setup the Development DB: ```\u003ca href=\"#Setting-up-Development-DB\"\u003eSetting up Development DB\u003c/a\u003e\n\n\u003e **Note** **If facing any issues, feel free to raise a [issue](https://github.com/sarthakjdev/create-express-ts-api/issues) or head towards \u003ca href=\"#Contact\"\u003eContact section\u003c/a\u003e **\n\n3. Start the server by running the following command\n\n   ```sh\n   npm run dev\n   ```\n   \n   \n---   \n### Tech Stack Used\n\n- [Node.js](https://nodejs.org/en/docs/guides/getting-started-guide/)\n- [Typescript](https://www.typescriptlang.org/docs/)\n- [Express.js](https://expressjs.com/en/starter/hello-world.html)\n- [Prisma (as ORM)](https://www.prisma.io/docs/getting-started)\n\n---   \n\n### Setting up Development DB\n\nTo setup the DB follow the steps:\n1. To set up the development DB make sure you have docker and docker-compose installed in your system.\n\n2. Add a .env file at the root of the project and add a Database URL in the file\n\n```sh\nPORT=3000\nDATABASE_URL=\"postgresql://johndoe:randompassword@localhost:5432/mydb\"\n```\n\nTo Trigger the Development DB Setup run following commands \n```sh\nnpm run dev:db\nnpm run db-generate\n```\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\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\nRefer to this [Contribution.md](https://github.com/sarthakjdev/create-express-ts-api/blob/main/Contributing.md) if you have any difficulty in making a pull request\n\n## License\n\nDistributed under the MIT License. See [`LICENCE`](https://github.com/sarthakjdev/create-express-ts-api/blob/main/LICENSE) for more information.\n\n---\n\n## Contact\n\nSarthak Jain - [@sarthakjdev](https://twitter.com/sarthakjdev) \n\nEmail Id : contact.sarthakjain@gmail.com\n\nDiscord : Sarthak Jain#2443\n\nLinkedIn: [LinkedIn](https://www.linkedin.com/in/sarthakjdev/)\n\n---\n## Documentation\n\nTo know more details about it refer to the blog: [Hashnode](https://blog.sarthakjdev.com/develop-rest-apis)\n\n\n\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakjdev%2Fcreate-express-ts-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarthakjdev%2Fcreate-express-ts-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakjdev%2Fcreate-express-ts-api/lists"}