https://github.com/bramkok/apollo-now
Testing deployment of Apollo GraphQL server with now
https://github.com/bramkok/apollo-now
apollo graphql http lamdas mysql now zeit
Last synced: 7 months ago
JSON representation
Testing deployment of Apollo GraphQL server with now
- Host: GitHub
- URL: https://github.com/bramkok/apollo-now
- Owner: bramkok
- Created: 2019-05-26T02:19:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T10:42:20.000Z (almost 7 years ago)
- Last Synced: 2025-07-11T04:00:46.980Z (9 months ago)
- Topics: apollo, graphql, http, lamdas, mysql, now, zeit
- Language: JavaScript
- Homepage: https://apollo-now.bramkok.now.sh
- Size: 216 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apollo-now
> React app + Apollo GraphQL API with `now`
## Installation
`$ yarn global add now@canary`
#### Development
`$ cp .env.default .env && nvim .env`
`$ now dev`
#### Production
`$ now`
## Apollo GraphQL API
A GraphQL API is located in the `api/` folder. The server uses
[`apollo-server-micro`](https://www.npmjs.com/package/apollo-server-micro) to
run a very simple GraphQL implementation. The url of the API is `web.site/api`.
[`graphql-playground`](https://github.com/prismagraphql/graphql-playground) is
added for testing and is available at URL.
## React app
A React frontend application can be found in `www/`. This is an installation
of Create React App and will run at `http://localhost:3000` in development.