Skip to content

Boilerplate for express apps written in TypeScript with the ultra fast SWC compiler

Notifications You must be signed in to change notification settings

OdedShimoni/ts-express-swc-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

  • git clone { rep url }
  • yarn install
  • create .env if needed

Development

  • yarn start:dev
    ~ or ~
  • yarn build
  • yarn start

Staging and Production

  • yarn build
    then
  • yarn start ~ or ~ node dist/main.js

~ TS to JS build is done with SWC. Declarations are done with TSC, and therefore slower. That's because SWC doesn't support declarations. ~ If you don't need declarations (e.g. if you use this as a module and your code is JS without TS) then you can build without them, with yarn build:src.

About

Boilerplate for express apps written in TypeScript with the ultra fast SWC compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published