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

feat: finish profile route api route with database calls #30

Merged
merged 6 commits into from
Dec 14, 2024

Conversation

BramSuurdje
Copy link
Contributor

This pull request includes several changes across different files to enhance functionality, improve configuration, and update dependencies. The most important changes include updates to the next.config.ts and package.json files, modifications to the Prisma schema, and the addition of new API routes.

Configuration Updates:

  • next.config.ts: Added pino and pino-pretty to serverExternalPackages for better logging support.
  • package.json: Updated build script to include prisma generate, changed lint:fix script to target the src directory, and added new dependencies including @scalar/nextjs-api-reference and jstoxml.

Prisma Schema Changes:

  • prisma/schema.prisma: Added default value "en" to language field in Profile model, and added createdAt and updatedAt fields to ViewingHistory and Watchlist models. [1] [2] [3]

API Route Additions:

API Route Removals:

@github-actions github-actions bot added the API label Dec 14, 2024
@BramSuurdje BramSuurdje changed the title feat: add automatic generation of zod objects with prisma file feat: finish profile route api route with database calls Dec 14, 2024
@JesseNHLStenden JesseNHLStenden merged commit d459b86 into main Dec 14, 2024
3 checks passed
@JesseNHLStenden JesseNHLStenden deleted the feat-complete-profile-route branch December 14, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants