setup prisma orm

This commit is contained in:
2024-11-13 18:50:53 +01:00
parent 0db2a0c647
commit 1e9ad26db5
31 changed files with 17698 additions and 42 deletions
+24
View File
@@ -0,0 +1,24 @@
# Concept & Ideas
## 1 Tools and Packages
### 1.1 Dart
- Functional Programming: FPDart
- SQL ORM: Prisma Dart
- https://prisma.pub/
### 1.2 Go
- Functional Programming: https://github.com/IBM/fp-go
- Docu: https://pkg.go.dev/github.com/IBM/fp-go
### 1.3 TS
- Functional Programming: fp-ts Package
- https://github.com/gcanti/fp-ts
- Engine: Deno
## 2 Steps
1. Install Prisma on Dart and Go
1. https://prisma.pub/getting-started/setup.html
2. https://goprisma.org/docs/getting-started/quickstart#manual-setup
2. Build ORM
1. GO: go run github.com/steebchen/prisma-client-go generate
2. Dart: pnpx prisma generate
3. Push Schema to DB
1. go run github.com/steebchen/prisma-client-go db push