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

https://github.com/oslavdev/typeorm-node-server

A simple graphql express server with typeorm and postgres. Just exploring different setups and possibilities.
https://github.com/oslavdev/typeorm-node-server

Last synced: 11 months ago
JSON representation

A simple graphql express server with typeorm and postgres. Just exploring different setups and possibilities.

Awesome Lists containing this project

README

          

# Typeorm Server

### Run

Copy .env.example to .env and change evnironment variables to your liking

```sh
docker-compose up

or

yarn

yarn dev

```

Server will run on http://localhost:7100
GraphQl playground http://localhost:7100/graphql

**DEFAULT CLIENT HOST:** http://localhost:8080/

### Environments

See: .env.example

### Testing

```sh
$ yarn test

```

**For coverage**

```sh
$ yarn test:coverage

```

**Update snapshots**

```sh
$ yarn test:update
```