A starter template for building web applications using Express, Pug, and TypeScript. This project provides a simple structure for rapid development and easy customization.
- Clone the repository:
git clone https://github.com/your-username/your-repo.git
cd your-repo
- Install dependencies:
npm install
- Build the TypeScript code:
npm run build
- To start the development server:
npm run dev
- To start the application in production mode:
npm start
- Open your browser and navigate to
http://localhost:3000
.
.
├── src
│ ├── app.ts # Entry point of the application
│ ├── routes # Route definitions
│ └── views # Pug templates
├── package.json # NPM configuration file
├── tsconfig.json # TypeScript configuration file
└── README.md # Project documentation
- Express server setup with TypeScript
- Pug template engine for rendering views
- Example route and view
- Easy project structure for scaling
- Edit
src/app.ts
to add routes or middleware. - Pug templates are located in the
src/views
directory. - Update TypeScript settings in
tsconfig.json
as needed.
This project is licensed under the MIT License.
#builtwithgithubcopilot is a campaign for participants to share products built with GitHub Copilot, to gain visibility.