A boilerplate for Express.js using TypeScript to reduce manual setup time. Follow clean architecture best practice.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
express-ts-init is a repository that serves as a foundational boilerplate for building web applications using the Express.js framework and TypeScript. This repository is made with the intention to follow the best practice for clean architecture as well as type safety.
-
Clone the repo
git clone https://github.com/mikah13/express-ts-init.git
-
Install NPM packages
pnpm install
-
Enter your environments variables in .env files
# App's running environment NODE_ENV= # App's running port PORT=3000 # Cors origin url CORS_ORIGIN=
-
Run the project in development mode
pnpm run dev