Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stemmlerjs/serverless-graphql-netlify-starter
- Owner: stemmlerjs
- License: mit
- Created: 2020-02-23T23:46:00.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T02:30:54.000Z (about 2 years ago)
- Last Synced: 2023-03-04T16:19:11.540Z (almost 2 years ago)
- Topics: graphql, netlify, serverless
- Language: JavaScript
- Homepage: https://serverless-graphql-starter.netlify.com/
- Size: 560 KB
- Stars: 23
- Watchers: 3
- Forks: 6
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```
## AboutThis 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.