Skip to content

Boilerplate code for implementing REST APIs using TypeScript with Node.js and Fastify.

Notifications You must be signed in to change notification settings

OpenCoverDeFi/node-typescript-restapi-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-typescript-restapi-starter

Boilerplate code for implementing REST APIs using TypeScript with Node.js and Fastify.

Usage

Prerequisites

  • Node.js 20+

Install dependencies

npm install

Run tests

npm test

Start server in development mode

This starts the server with hot reloading enabled thus eliminating the need to restart Node between changes.

npm run dev

Build and start server in production mode

Builds the TypeScript code and starts the compiled server in production mode.

npm run build
npm start

About

Boilerplate code for implementing REST APIs using TypeScript with Node.js and Fastify.

Resources

Stars

Watchers

Forks