Skip to content

ypk46/node-express-template

Repository files navigation

Node Express Template

A Node.js template for building APIs using Express with TypeScript.

Getting Started

Prerequisites

  • Node.js (v20 or higher)
  • npm (comes with Node.js)

Running the Application

  1. Install the dependencies:

    npm install
  2. Start the server:

    # Run from TS entrypoint
    npm run dev
    
    # Run with hot-reload
    npm run watch
    
    # Build and run JS entrypoint
    npm run build && npm start

    Your server is running on port 3000, so you can test it by running:

    curl localhost:3000/api/ping

About

Template for a Node.js API with TypeScript using Express.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors