Jorgen-VikingGod / express-typescript

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

Home Page:https://rsbh.dev/blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 git@github.com: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

About

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

https://rsbh.dev/blog

License:MIT License


Languages

Language:TypeScript 98.2%Language:Dockerfile 1.1%Language:JavaScript 0.7%