|
2 | 2 | ⚡The simplest serverless GraphQL API deployed on Netlify possible |
3 | 3 |
|
4 | 4 | [](https://app.netlify.com/start/deploy?repository=https://github.com/stemmlerjs/serverless-graphql-netlify-starter) |
| 5 | + |
| 6 | +## Installation |
| 7 | + |
| 8 | +Clone and run npm install to install the dependencies. |
| 9 | + |
| 10 | +```bash |
| 11 | +npm install |
| 12 | +``` |
| 13 | + |
| 14 | +### Start locally |
| 15 | + |
| 16 | +To run the project locally, use the `start` command. |
| 17 | + |
| 18 | +```bash |
| 19 | +npm run start |
| 20 | +``` |
| 21 | +## About |
| 22 | + |
| 23 | +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. |
| 24 | + |
| 25 | +Check out [server.js](https://github.com/stemmlerjs/serverless-graphql-netlify-starter/blob/master/src/server.js) for how it works. |
0 commit comments