express-typescript icon indicating copy to clipboard operation
express-typescript copied to clipboard

Source code for the Building REST API with Express, TypeScript blog post series

trafficstars

express-typescript

Source code for the Building REST API with Express, TypeScript blog post series

Post Links

  1. Building REST API with Express, TypeScript and Swagger
  2. Building REST API with Express, TypeScript - Part 2: Docker Setup
  3. Building REST API with Express, TypeScript - Part 3: PostgreSQL and Typeorm
  4. Building REST API with Express, TypeScript - Part 4: Jest and unit testing

Build from source

  1. Clone the repo

    git clone [email protected]:rsbh/express-typescript.git
    cd express-typescript
    
  2. Install dependencies.

    npm install
    
  3. Build the production server.

    npm build
    
  4. Run the server.

    npm start
    

Build Docker image locally

docker build -t express-typescript .

Run tests

npm test