Skip to content

jhsware/test-ts-server

Repository files navigation

Node.js Template Dependencies

PoC of Node.js running mixed TypeScript code.

  • Development
  • Production
  • Build
  • Test

Getting Started

  1. Start server
  npm run dev
  1. Go to endpoints
  http://localhost:8080/
  http://localhost:8080/js
  http://localhost:8080/broken-link
  1. Edit code with hot restart

To switch from SWC to TSC-transpiler removed the following line in tsconfig.json:

"transpiler": "ts-node/transpilers/swc-experimental"

Some Refs to Underlying Technologies

Node.js Typescript SWC

Prettier ESLint Jest

Features

Packages

  • Typescript
  • Node.js
  • Jest
  • ESLint
  • Prettier
  • Husky
  • SWC
  • Lint Staged

Installation

with NPX

npx degit lamualfa/template-node project-name

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from lamualfa/template-node