https://github.com/tobkle/photon_graphql_now
Prisma Photon GraphQL Deployment to now (Zeit.co)
https://github.com/tobkle/photon_graphql_now
graphql mysql now photon prisma2
Last synced: about 2 months ago
JSON representation
Prisma Photon GraphQL Deployment to now (Zeit.co)
- Host: GitHub
- URL: https://github.com/tobkle/photon_graphql_now
- Owner: tobkle
- Created: 2019-08-14T13:51:40.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-14T14:08:26.000Z (almost 7 years ago)
- Last Synced: 2025-03-17T17:21:45.526Z (over 1 year ago)
- Topics: graphql, mysql, now, photon, prisma2
- Language: HTML
- Homepage: https://photongraphqlnow.klemmer.now.sh
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prisma Photon GraphQL with MySQL Example
... deployed to [Now](https://zeit.co)
copied from... [Postgres Example](https://github.com/prisma/photonjs/tree/master/examples/deployment-platforms/zeit-now)
## Usage
```bash
yarn install
echo `MYSQL_CLOUD_URL="mysql://user:password@mysql.server.com:3306/myDatabase?sslmode=preferred"` > .env
now secret add MYSQL_CLOUD_URL "mysql://user:password@mysql.server.com:3306/myDatabase?sslmode=preferred"
now -e MYSQL_CLOUD_URL=@mysql_cloud_url
```