Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rsbh/express-typescript

Source code for the Building REST API with Express, TypeScript blog post series
https://github.com/rsbh/express-typescript

express jest typescript

Last synced: 21 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://rsbh.dev/blog/rest-api-with-express-typescript)
2. [Building REST API with Express, TypeScript - Part 2: Docker Setup](https://rsbh.dev/blog/rest-api-express-typescript-docker)
3. [Building REST API with Express, TypeScript - Part 3: PostgreSQL and Typeorm](https://rsbh.dev/blog/rest-api-express-postgres-typeorm)
4. [Building REST API with Express, TypeScript - Part 4: Jest and unit testing](https://rsbh.dev/blog/rest-api-express-typescript-jest-testing)

## Build from source

1. Clone the repo

```sh
git clone [email protected]:rsbh/express-typescript.git
cd express-typescript
```

2. Install dependencies.

```sh
npm install
```

3. Build the production server.

```sh
npm build
```

4. Run the server.
```sh
npm start
```

## Build Docker image locally

```sh
docker build -t express-typescript .
```

## Run tests

```sh
npm test
```