Skip to content

Express boilerplate with ability to add new property in req and res object

Notifications You must be signed in to change notification settings

aquaswim/express-ts

Repository files navigation

Express TS

Code Style: Google

Express ❤️ Typescript with ability to add typing to express's Request and Response

How to add typing to Request or Response

You can see the code in @types/express/index.d.ts.

How to start

  1. Clone this repo
  2. install dependency
    npm install
    
  3. build the app
    npm run compile
    
  4. Configure other stuf (db,cache,search etc)
  5. start the app
    npm run start
    

How to create unit test

All unit test files will reside in ./src directory alongside with module that will be tested, and must be named with prefix .spec.ts. To run the unit test run npm run test

About

Express boilerplate with ability to add new property in req and res object

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published