https://github.com/steebchen/gdp-v-sls
https://github.com/steebchen/gdp-v-sls
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/steebchen/gdp-v-sls
- Owner: steebchen
- Created: 2021-10-13T16:26:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T17:46:53.000Z (over 4 years ago)
- Last Synced: 2024-12-31T01:41:47.849Z (over 1 year ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go client Prisma Data Proxy example
Install:
```bash
git clone git@github.com:steebchen/gdp-v-sls.git
cd gdp-v-sls
```
You should use the url shortener application in order to get some data returned with this example app.
Create a new data proxy connection string and set it via `DATA_PROXY_DATABASE_URL`:
```bash
export DATA_PROXY_DATABASE_URL="prisma://....."
```
Fetch dependencies and generate the Prisma Go client using go tools:
```bash
go generate ./...
```
Run the app:
```bash
go run .
```