Skip to content

Feature: User Authentication, Post Controller Adjustments, and Data Seeding#5

Merged
nuuxcode merged 4 commits intomainfrom
backend
Mar 25, 2024
Merged

Feature: User Authentication, Post Controller Adjustments, and Data Seeding#5
nuuxcode merged 4 commits intomainfrom
backend

Conversation

@nuuxcode
Copy link
Copy Markdown
Owner

This pull request introduces several updates:

  1. Initial boilerplate setup and user authentication with Clerk. This sets the foundation for our application and ensures secure user management.

  2. Updates to the user and auth modules, along with adjustments to the post controller. These changes enhance the functionality of our user management and improve the way posts are handled.

  3. Addition of a seeding script. This script will help us populate our database with initial data for testing and development purposes.

  4. Implementation of Svix webhook handling to synchronize data from Clerk. This ensures that our local data stays in sync with the data managed by Clerk.

Please review these changes and provide your feedback.

ayequill and others added 4 commits March 23, 2024 21:21
- Change `passwordHash` to `password` in User model
- Set default role to `user` in User model
- Comment out `AuthModule` in app.module.ts
- Create `UserResponseDTO` in auth.dto.ts
- Change `name` to `username` in `RegisterUserDTO`
- Update `AuthService` to use `username` and set default role
- Comment out some routes in post.controller.ts
- Change `name` to `username` in user.controller.ts
@nuuxcode nuuxcode requested review from ayequill and viictoo March 25, 2024 22:02
@nuuxcode nuuxcode self-assigned this Mar 25, 2024
@nuuxcode nuuxcode merged commit 2557a45 into main Mar 25, 2024
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