https://github.com/steebchen/prisma-go-demo
A very basic demo for the Prisma Go Client
https://github.com/steebchen/prisma-go-demo
go golang prisma
Last synced: 3 months ago
JSON representation
A very basic demo for the Prisma Go Client
- Host: GitHub
- URL: https://github.com/steebchen/prisma-go-demo
- Owner: steebchen
- Created: 2023-10-24T15:47:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-24T21:23:56.000Z (5 months ago)
- Last Synced: 2025-03-18T16:52:49.362Z (3 months ago)
- Topics: go, golang, prisma
- Language: Go
- Homepage: https://github.com/steebchen/prisma-client-go
- Size: 30.3 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prisma Go Demo
## Instructions
```shell script
git clone [email protected]:steebchen/prisma-go-demo.git
cd prisma-go-demo
go run github.com/steebchen/prisma-client-go db push
go run .
# created post: {
# "id": "ckfnrp7ec0000oh9kygil9s94",
# "createdAt": "2020-09-29T09:37:44.628Z",
# "updatedAt": "2020-09-29T09:37:44.628Z",
# "title": "Hi from Prisma!",
# "published": true,
# "desc": "Prisma is a database toolkit and makes databases easy."
# }
# post: {
# "id": "ckfnrp7ec0000oh9kygil9s94",
# "createdAt": "2020-09-29T09:37:44.628Z",
# "updatedAt": "2020-09-29T09:37:44.628Z",
# "title": "Hi from Prisma!",
# "published": true,
# "desc": "Prisma is a database toolkit and makes databases easy."
# }
# The posts's title is: Prisma is a database toolkit and makes databases easy.
```## Next steps
Read the docs at [GoPrisma](https://goprisma.org/docs).