Express + TypeScript starter template
See the codeHey There! π
π€Ύ that βοΈ button if you like this boilerplate.
Welcome to Express TypeScript Boilerplate 2025 β a simple and ready-to-use starting point for building backend web services with Express.js and TypeScript.
This starter kit helps you:
tsx and error checking with tsc.tool-versionspino-httpBiomejsServiceResponseFor a visual guide, watch the video demo to see the setup and running of the project.
git clone https://github.com/edwinhern/express-typescript.gitcd express-typescriptpnpm install.env: Copy .env.template to .env.env: Fill in necessary environment variablespnpm start:devpnpm buildNODE_ENV="production" in .env then pnpm build && pnpm start:prodWe'd love to hear your feedback and suggestions for further improvements. Feel free to contribute and join us in making backend development cleaner and faster!
π Happy coding!
βββ biome.json
βββ Dockerfile
βββ LICENSE
βββ package.json
βββ pnpm-lock.yaml
βββ README.md
βββ src
β βββ api
β β βββ healthCheck
β β β βββ __tests__
β β β β βββ healthCheckRouter.test.ts
β β β βββ healthCheckRouter.ts
β β βββ user
β β βββ __tests__
β β β βββ userRouter.test.ts
β β β βββ userService.test.ts
β β βββ userController.ts
β β βββ userModel.ts
β β βββ userRepository.ts
β β βββ userRouter.ts
β β βββ userService.ts
β βββ api-docs
β β βββ __tests__
β β β βββ openAPIRouter.test.ts
β β βββ openAPIDocumentGenerator.ts
β β βββ openAPIResponseBuilders.ts
β β βββ openAPIRouter.ts
β βββ common
β β βββ __tests__
β β β βββ errorHandler.test.ts
β β β βββ requestLogger.test.ts
β β βββ middleware
β β β βββ errorHandler.ts
β β β βββ rateLimiter.ts
β β β βββ requestLogger.ts
β β βββ models
β β β βββ serviceResponse.ts
β β βββ utils
β β βββ commonValidation.ts
β β βββ envConfig.ts
β β βββ httpHandlers.ts
β βββ index.ts
β βββ server.ts
βββ tsconfig.json
βββ vite.config.mts
177 followers Β· starred Oct 2024
75 followers Β· starred Jul 2025
57 followers Β· starred Jan 2025
124 followers Β· starred Sep 2024
Express + TypeScript starter template
See the codeHey There! π
π€Ύ that βοΈ button if you like this boilerplate.
Welcome to Express TypeScript Boilerplate 2025 β a simple and ready-to-use starting point for building backend web services with Express.js and TypeScript.
This starter kit helps you:
tsx and error checking with tsc.tool-versionspino-httpBiomejsServiceResponseFor a visual guide, watch the video demo to see the setup and running of the project.
git clone https://github.com/edwinhern/express-typescript.gitcd express-typescriptpnpm install.env: Copy .env.template to .env.env: Fill in necessary environment variablespnpm start:devpnpm buildNODE_ENV="production" in .env then pnpm build && pnpm start:prodWe'd love to hear your feedback and suggestions for further improvements. Feel free to contribute and join us in making backend development cleaner and faster!
π Happy coding!
βββ biome.json
βββ Dockerfile
βββ LICENSE
βββ package.json
βββ pnpm-lock.yaml
βββ README.md
βββ src
β βββ api
β β βββ healthCheck
β β β βββ __tests__
β β β β βββ healthCheckRouter.test.ts
β β β βββ healthCheckRouter.ts
β β βββ user
β β βββ __tests__
β β β βββ userRouter.test.ts
β β β βββ userService.test.ts
β β βββ userController.ts
β β βββ userModel.ts
β β βββ userRepository.ts
β β βββ userRouter.ts
β β βββ userService.ts
β βββ api-docs
β β βββ __tests__
β β β βββ openAPIRouter.test.ts
β β βββ openAPIDocumentGenerator.ts
β β βββ openAPIResponseBuilders.ts
β β βββ openAPIRouter.ts
β βββ common
β β βββ __tests__
β β β βββ errorHandler.test.ts
β β β βββ requestLogger.test.ts
β β βββ middleware
β β β βββ errorHandler.ts
β β β βββ rateLimiter.ts
β β β βββ requestLogger.ts
β β βββ models
β β β βββ serviceResponse.ts
β β βββ utils
β β βββ commonValidation.ts
β β βββ envConfig.ts
β β βββ httpHandlers.ts
β βββ index.ts
β βββ server.ts
βββ tsconfig.json
βββ vite.config.mts
177 followers Β· starred Oct 2024
75 followers Β· starred Jul 2025
57 followers Β· starred Jan 2025
124 followers Β· starred Sep 2024