Skip to content

AlfatArdiansa/ts-express-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Express Rest Api

Includes API Server utilities:

  • morgan
    • HTTP request logger middleware for node.js
  • helmet
    • Helmet helps you secure your Express apps by setting various HTTP headers. It's not a silver bullet, but it can help!
  • dotenv
    • Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env

Development utilities:

  • tsc-watch
    • tsc-watch starts a TypeScript compiler with --watch parameter, with the ability to react to compilation status. tsc-watch was created to allow an easy dev process with TypeScript. Commonly used to restart a node server, similar to nodemon but for TypeScript.

Setup

npm install
or
yarn install

Dev

npm run dev
or
yarn dev

Build Only

npm run build
or
yarn build

Run Only

npm run start
or
yarn start

Licence

MIT

About

Starter Express rest api with Typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published