10000 GitHub - knguyen1411b/express-ts-docker-template: A Dockerized Express.js application with TypeScript, optimized for both development and production environments.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

A Dockerized Express.js application with TypeScript, optimized for both development and production environments.

Notifications You must be signed in to change notification settings

knguyen1411b/express-ts-docker-template

Repository files navigation

Express Typescript Docker Development Template

A Dockerized Express.js application with TypeScript, optimized for both development and production environments.

Prerequisites

  • Docker
  • Docker Compose

Getting Started

To set up and run the application, follow these steps:

1. Clone the Repository:

Clone the repository to your local machine:

git clone https://github.com/KNguyen-1411/express-ts-docker-template.git

2. Navigate to the Cloned Repository:

Change directory into the project folder:

cd express-ts-docker-template

3. Build and Start Docker Containers:

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.

Development Environment

  • 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 in docker-compose.yml.

Built With

  • Node.js
  • Express.js
  • TypeScript
  • Docker

License

This project is licensed under the MIT License. See the LICENSE.md file for details.

Author

  • Khánh Nguyên
    30-10-2024

Thank you for checking out this project! Have a productive day with Express and TypeScript!

About

A Dockerized Express.js application with TypeScript, optimized for both development and production environments.

Topics

Resources

Stars

Watchers

Forks

0