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

https://github.com/stemmlerjs/serverless-typescript-graphql-netlify-starter

⚡A serverless TypeScript GraphQL API deployed on Netlify
https://github.com/stemmlerjs/serverless-typescript-graphql-netlify-starter

api graphql netlify severless typescript

Last synced: about 2 months ago
JSON representation

⚡A serverless TypeScript GraphQL API deployed on Netlify

Awesome Lists containing this project

README

        

# serverless-typescript-graphql-netlify-starter
⚡A serverless TypeScript GraphQL API deployed on Netlify

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/stemmlerjs/serverless-typescript-graphql-netlify-starter)

## Installation

Clone and run npm install to install the dependencies.

```bash
npm install
```

### Start locally

To run the project locally, use the `start` command.

```bash
npm run start
```
## About

This project uses both `apollo-server` and `apollo-server-lambda` so that you can write your GraphQL resolvers and type definitions in one place, yet run GraphQL servers locally and serverlessly.

Check out [server.ts](https://github.com/stemmlerjs/serverless-typescript-graphql-netlify-starter/blob/master/src/server.ts) for how it works.