Skip to content

An empty Node Typescript Server to spin an instance up a bit faster.

Notifications You must be signed in to change notification settings

zpg6/node-ts-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-ts-template

Just an empty server to spin up Node.js a bit faster. I prefer Typescript when feasible, so yeah... it's Typescript.

Typescript

You can install TypeScript via npm

npm install -g typescript

Then run the compiler via tsc

npx tsc

Getting Started

Get the files and the dependencies with two easy commands:

git clone https://github.com/zpg6/node-ts-template.git
npm install

Develop

This will re-compile and re-run the server when you change a file in the src directory.

npm run dev

Run

This will compile and run the server, but not re-compile when files are saved.

npm start

What's Included

Generate a UUID (shows it's reloading)
http://localhost:9000/

Serve a static file (checks permissions)
http://localhost:9000/running

About

An empty Node Typescript Server to spin an instance up a bit faster.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published