Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Prisma as our ORM (Object-Relational Mapper) #21

Merged
merged 30 commits into from
Jun 2, 2023

Conversation

marco-souza
Copy link
Contributor

@marco-souza marco-souza commented May 19, 2023

Description

This PR configures Prisma to be used as our database

  • install and setup Prisma
  • initial model data
  • setup docker to run DB locally

Pending

  • Add local db config for testing
  • setup commands
  • test database with the desired use cases
  • seed database - will be made into another PR

Next steps

  • register profile data post-install
  • seed tasks

Links

@marco-souza marco-souza self-assigned this May 19, 2023
@vercel
Copy link

vercel bot commented May 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2023 9:18pm

Copy link
Contributor

@vitorschelb vitorschelb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@vitorschelb vitorschelb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

docker-compose.yml Outdated Show resolved Hide resolved
.env.example Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
prisma/ERD.svg Outdated Show resolved Hide resolved
Copy link
Contributor Author

@marco-souza marco-souza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should work fine now

@marco-souza
Copy link
Contributor Author

@nicolasbrandao @vitorschelb I'll merge this, as we need to have the DB set up to unblock other tasks.

I hope you got the chance of testing it locally. Next week we can sync about it.

@marco-souza marco-souza merged commit a3aeb48 into main Jun 2, 2023
@marco-souza marco-souza deleted the marco/setup-prisma branch June 2, 2023 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants