Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

graphql netlify serverless

Last synced: 3 months ago
JSON representation

⚡A serverless GraphQL API deployed on Netlify

Awesome Lists containing this project

README

        

# serverless-graphql-netlify-starter
⚡The simplest serverless GraphQL API deployed on Netlify possible

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/stemmlerjs/serverless-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.js](https://github.com/stemmlerjs/serverless-graphql-netlify-starter/blob/master/src/server.js) for how it works.