First, run the development server:
pnpm install
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the index response by modifying the file
src/adapters/handlers/indexHandler.ts
. The server auto-updates as you edit the file.
You can build an optimized Docker production-ready image with the standard command:
docker build -t express-starter .
And then run the container passing environment variables if needed within the initialization:
docker run --rm -it -p 3000:3000 --name express-starter express-starter
To learn more about Express, take a look at the following resources:
- Express Documentation - learn about Express 5 features and API.