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

fix #34: Implement Login and Signup Functionality #83

Conversation

priyanshuverma-dev
Copy link
Contributor

@priyanshuverma-dev priyanshuverma-dev commented Oct 5, 2024

Demo is a bit odd changes sonner is used for toast only.

  1. Authjs
  2. Drizzle ORM
  3. Raw CSS
  4. Responsive
  5. nodemailer for otp...

Demo Video

uttrakhand-culture-feat-auth-demo.mp4

.env changes

DATABASE_URL=postgresql://db_owner:[email protected]/db?sslmode=require
AUTH_SECRET=adnaudbq981y0n209
SENDER_EMAIL=[email protected]
# only for test visit https://ethereal.email and make
MAIL_SERVER_HOST=smtp.ethereal.email 
MAIL_SERVER_USER=[email protected]
MAIL_SERVER_PASS=mhKJPGwusJtdtbcwBQ

To setup Database

firstly generate and run migrations

npx drizzle-kit generate

Then

npx drizzle-kit migrate 

Copy link

vercel bot commented Oct 5, 2024

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

Name Status Preview Comments Updated (UTC)
uttarakhand-culture ❌ Failed (Inspect) Oct 5, 2024 3:09pm

Copy link
Owner

@ajaynegi45 ajaynegi45 left a comment

Choose a reason for hiding this comment

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

Hi @priyanshuverma-dev,

Thank you for your prompt work on this issue. I appreciate your dedication to the project.

I have reviewed your work, and I need some changes.

  • Signup is not working properly.

    Timeline.1.1.mov
  • Replace working text with this loading icon. (Everywhere)

    Screen.Recording.2024-10-04.at.6.40.16.PM.mov
  • After logout it redirect to hard code url: "http://localhost:3000/".

  • Create a basic and simple profile page to display login user detail. Make it very simple. Replace logout text with profile. inside profile show logout button.

  • Email otp is not working.

Once again, thank you for your contribution! ❤️

@ajaynegi45 ajaynegi45 closed this Oct 5, 2024
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