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

https://github.com/kekland/graphql-typescript-server-template

A GraphQL TypeScript server template that uses TypeGraphQL and Apollo Server
https://github.com/kekland/graphql-typescript-server-template

Last synced: 3 months ago
JSON representation

A GraphQL TypeScript server template that uses TypeGraphQL and Apollo Server

Awesome Lists containing this project

README

          

# graphql-typescript-server-template

A GraphQL TypeScript server that uses [TypeGraphQL](https://typegraphql.ml/) and [Apollo Server](https://www.apollographql.com/docs/apollo-server/).

## Features

- Webpack bundling included
- Optional logging with [Winston](https://github.com/winstonjs/winston)
- Easy to start up

## Installing

```bash
$ git clone https://github.com/kekland/graphql-typescript-server-template
```

## Scripts

```bash
# Cleans the `./dist` folder.
$ npm run clean
```

```bash
# Builds production version of the server
$ npm run prod:build
```

```bash
# Builds development version of the server
$ npm run dev:build
```

```bash
# Watches for file changes and incrementally builds server
$ npm run dev:watch
```

```bash
# Runs the server
$ npm run start
```

## Contact me

**Erzhan**: `kk.erzhan@gmail.com`