You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add authentication feature
* migration: remove table that unrelated with authentication feature
* lint: fix lint error
* Fix: Update Prisma schema path in npm scripts
Changed the Prisma schema path in all related npm scripts from 'src/prisma/schema.prisma' to 'prisma/schema.prisma' to reflect the new schema location.
* Update .env.example
* Refines Prisma configuration and updates linting scripts
Centralizes the Prisma schema path within `prisma.config.ts`, enabling the removal of redundant `--schema` arguments from database-related npm scripts.
Integrates `prisma format` into the `lint` and `lint:fix` commands to ensure consistent code formatting.
Removes the unused `eslint-plugin-naming` dependency and cleans up an unused `lucide-react` import and unutilized `ctx` parameters in authentication callbacks.
* Prepares schema for initial authentication feature
Temporarily comments out models and fields unrelated to core authentication. This includes `Post`, `Like`, `Comment`, `Report`, `Follow`, and `LeaderboardSnapshot` models, along with their associated relations in the `User` model.
This change streamlines the database schema to focus solely on the initial authentication functionality, enabling a clearer development path. These features will be uncommented and implemented as they are developed.
Also renames the base migration file to accurately reflect its purpose in setting up the initial authentication tables.
* Implements social media authentication options.
This commit adds support for authenticating with Google and GitHub in addition to the existing authentication mechanism. This enhancement allows users to login using their social media accounts, providing a more convenient and secure experience. The changes include adding new environment variables and registering the authentication routes.
* remove unnecessary columns
* fix lint error
* Merge branch 'pemrogrammer:main' into auth
* implement client login form error handling
* registration and email verification using otp (without smtp)
* update login: remove email param to email-verification
* add smtp support for OTP using Resend
* add router dependency to fix lint
* Improves login form layout and workflow for improved user experience.
Enhances the accessibility and readability of the login form by providing clear labels and links for users.
Updates the layout to direct users to the correct authentication routes.
Adds social login buttons for GitHub.
Updates the CTAs on the landing page and header to direct users to the login/auth/register pages.
Improves overall user navigation and reduces confusion.
0 commit comments