This is simple demo of how to manage database using prisma and tbls for documentation.
bun install
- Start the database using docker-compose:
docker-compose up -d
-
Create a
.env
file based on the.env.example
file. -
Generate the Prisma client:
make migrate-dev
- Generate the documentation:
make db-doc
Alternatively, seed the database with:
make seed
More commands can be found in the Makefile
.
- Quickstart with TypeScript & SQLite | Prisma Docs
- k1LoW/tbls: tbls is a CI-Friendly tool for document a database, written in Go.
- bruin-data/ingestr: ingestr is a CLI tool to copy data between any databases with a single command seamlessly.
- Creating PostgreSQL service containers
- Automatically commit and push changed files back to GitHub with GitHub Action
👤 Huynh Duc Dung
- Website: https://productsway.com/
- Twitter: @jellydn
- Github: @jellydn
Give a ⭐️ if this project helped you!