https://github.com/masaok/apollo-server-vercel-demo
Hosting GraphQL API on Vercel Demo
https://github.com/masaok/apollo-server-vercel-demo
graphql vercel
Last synced: about 2 months ago
JSON representation
Hosting GraphQL API on Vercel Demo
- Host: GitHub
- URL: https://github.com/masaok/apollo-server-vercel-demo
- Owner: masaok
- Created: 2022-03-22T07:23:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-23T09:20:53.000Z (about 4 years ago)
- Last Synced: 2025-03-24T12:18:57.394Z (over 1 year ago)
- Topics: graphql, vercel
- Language: JavaScript
- Homepage: https://apollo-server-vercel-demo.vercel.app
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apollo-server-vercel
A quick demo showing how to host an [Apollo server](https://www.apollographql.com/docs/apollo-server/) on [Vercel](https://vercel.com/).
## Demo
Type the following command in your terminal to test:
```bash
curl --location --request POST 'https://apollo-server-vercel-eight.vercel.app/graphql' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"{\n hello\n}","variables":{}}'
```
## Credits
https://medium.com/@sppericat/how-to-setup-an-apollo-graphql-server-on-vercel-cc3f2dd72b3e