Welcome to Express TypeScript Boilerplate 2025 – a simple and ready-to-use starting point for building backend web services with Express.js and TypeScript.
- Clone the repository:
git clone https://github.com/dgduksict/typescript-express.git - Navigate:
cd typescript-express - Install dependencies:
npm install
- Create
.env: Copy.env.exampleto.env - Update
.env: Fill in necessary environment variables
- Development Mode:
npm run dev - Migrate DB in Development Mode:
npm run migrate:development - Building:
npm build - Production Mode: Set
NODE_ENV="production"in.env.productionthennpm run migrate:production
├── Dockerfile
├── LICENSE
├── package.json
├── package-lcok.json
├── README.md
├── custom.d.ts
├── src
│ └── index.ts
│
├── tsconfig.json
└── gitignore