A Dockerized Express.js application with TypeScript, optimized for both development and production environments.
- Docker
- Docker Compose
To set up and run the application, follow these steps:
Clone the repository to your local machine:
git clone https://github.com/KNguyen-1411/express-ts-docker-template.git
Change directory into the project folder:
cd express-ts-docker-template
Build and start the containers using Docker Compose. This command runs the application in the background in development mode:
docker compose up --build -d
The application will be accessible at http://localhost:3000
.
- The application starts in development mode by default, with hot reload enabled for seamless development.
- You can easily switch between development and production modes by adjusting the
target
setting indocker-compose.yml
.
- Node.js
- Express.js
- TypeScript
- Docker
This project is licensed under the MIT License. See the LICENSE.md file for details.
- Khánh Nguyên
30-10-2024
Thank you for checking out this project! Have a productive day with Express and TypeScript!