This project is a simple template for building an Express.js application using TypeScript. It includes an example setup for routes, environment configuration, and a development workflow using nodemon
for automatic code reloads on changes.
Ensure that you have the following installed on your machine:
- Node.js (https://nodejs.org/)
- npm (Node package manager, comes with Node.js)
- Git (https://git-scm.com/downloads)
Run the following command to download and run the application
git clone https://github.com/mrpcodecraft/express-ts-starter-template.git
cd express-ts-starter-template
npm install
Add the .env file in the root folder and add values for ENV and PORT Now run the following command to start the server.
npm start
You can access the application at http://localhost:[ PORT ]
This README.md
includes only cloning and setting up the template. For a detailed description to create an application by yourself please refer to README/SETUP.md.