This is an express api template powered by swc. Modern JavaScript syntax, fast TypeScript compilation, no hocus pocus.
You can clone this repository and use the repository like a template.
git clone git@github.com:ryanmr/swc-express-template.git
You can also use degit
:
npx degit github:ryanmr/swc-express-template
yarn install
yarn dev
This uses nodemon and npm-run-all to compile and run in series whenever a ./src
file changes.
yarn start
node ./dist/index.js
Considering checking for updated dependencies from time to time.
npx npm-check-updates