Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lassejlv/go-prisma-template
😀 Easy go-prisma template
https://github.com/lassejlv/go-prisma-template
docker go prisma
Last synced: 2 months ago
JSON representation
😀 Easy go-prisma template
- Host: GitHub
- URL: https://github.com/lassejlv/go-prisma-template
- Owner: lassejlv
- Created: 2024-04-04T07:39:48.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-04T07:59:13.000Z (9 months ago)
- Last Synced: 2024-04-17T03:57:56.052Z (9 months ago)
- Topics: docker, go, prisma
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Prisma Go Template
An api using prisma as the database orm and gin as the web framework.
### Running the database and server
```bash
go mod download
```Generate the prisma client
```bash
go run github.com/steebchen/prisma-client-go db push
```Run the server
```bash
go run . # or go run main.go
```