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

Login registers user on DB if non existent #33

Merged
merged 11 commits into from
Jun 22, 2023

Conversation

nicolasbrandao
Copy link
Contributor

Description

This PR implements basic logic to create a user on DB through providers sign in

  • Change prisma schema
  • Make schema migrations
  • Create sign in callback function to create user on DB

Next Steps

  • Add edit profile feature

@vercel
Copy link

vercel bot commented Jun 12, 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 Jun 22, 2023 7:43pm

@nicolasbrandao nicolasbrandao changed the title Login Register user on DB if non existent Login registers user on DB if non existent Jun 12, 2023
prisma/schema.prisma Outdated Show resolved Hide resolved
prisma/schema.prisma Outdated Show resolved Hide resolved
prisma/schema.prisma Outdated Show resolved Hide resolved
src/shared/auth.ts Outdated Show resolved Hide resolved
src/shared/db.ts Show resolved Hide resolved
src/shared/db.ts Outdated Show resolved Hide resolved
src/shared/auth.ts Outdated Show resolved Hide resolved
src/app/app/[username]/page.tsx Outdated Show resolved Hide resolved
src/shared/db.ts Outdated Show resolved Hide resolved
src/components/Profile.tsx Outdated Show resolved Hide resolved
src/shared/db.ts Outdated Show resolved Hide resolved
src/shared/auth.ts Outdated Show resolved Hide resolved
src/shared/db.ts Outdated Show resolved Hide resolved
src/shared/db.ts Outdated Show resolved Hide resolved
src/shared/db.ts Outdated Show resolved Hide resolved
src/shared/db.ts Outdated Show resolved Hide resolved
src/shared/auth.ts Outdated Show resolved Hide resolved
src/shared/db.ts Show resolved Hide resolved
@nicolasbrandao nicolasbrandao marked this pull request as ready for review June 22, 2023 19:42
@nicolasbrandao nicolasbrandao merged commit 3f684a8 into main Jun 22, 2023
@nicolasbrandao nicolasbrandao deleted the nicolasbrandao/register-user-on-db branch June 22, 2023 21:01
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.

3 participants