https://github.com/tresorama/test-db
Experiment with Databases, with this collection of boilerplates. All databases are launched as Docker container.
https://github.com/tresorama/test-db
database docker-compose
Last synced: about 2 months ago
JSON representation
Experiment with Databases, with this collection of boilerplates. All databases are launched as Docker container.
- Host: GitHub
- URL: https://github.com/tresorama/test-db
- Owner: tresorama
- Created: 2022-11-11T20:45:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-13T12:16:52.000Z (over 3 years ago)
- Last Synced: 2025-03-20T16:48:54.411Z (over 1 year ago)
- Topics: database, docker-compose
- Language: TypeScript
- Homepage:
- Size: 20.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prisma Playground Repo
The purpose of this repo is educational.
### How to navigate
This repo contains multiple `example`s of usage of databases, you'll find in `example` directory.
`example-templates` contains boilerplate for create a new `example`.
## Examples
TODO
## Idea of a Database problem
Suggestion of "problem" to solve with a database.
### Financial App for Card
Entities
- Users
- Credit Cards
- Checking Accounts
Consumer Goals:
- How many credit cards that user has ?
- On average how many card a user has ?
### Customer Orders
Entities
- User/Customers
- Orders
Consumer Goals:
- How many orders that user has ?
- How many money tht user has spent ?
- On average how many orders a user has done ?
- Order days with more orders in that day.
### Cook Recipes
Entities:
- Recipes
- Ingredients
Consumer Goals:
- How many recipes has "tomato" as ingredients ?
- How many recipes has a "easy" difficulty ?
- Order recipes by expensivness
- Order recipes by time to accomplish
### Company Workers Salary
Entities:
- Workers (Employees)
Consumer Goals:
- ?