You are browsing as a guest. Sign up (or log in) to start making projects!

1h 33m 27s logged

UrStudyBuddy Devlog 14 - Sign in and Login page first lookss!!:yesyes: :yay: !!

The project has finally got its sign up/ log in page. It took quite sometime and finally got the hold of it. Along with the sign up page i have added a lil cloud above the page where it reacts to whatever you type or do. Move your cursor around and see its eyes moving :eye-pyramid: . And it goes red when you type a wrong password or the email is wrong.
Signing up lets you save your tasks and notes incase you missed them (im still working on tis part).

I have commited to github quite a lot this devlog. I have also come across many bugs especially with the database, a huge story that ruined the sign up page, but now its fine.

So what was the bug about ❓

Im writing this because i believe it could be common problem for many people (and i hope it solves yours if you have a similar problem too-

  • When creating a login and signup page, there should be a database created in your source of deployement, i use vercel.
  • There was a major problem with creating accounts when trying the project out.
  • The database (Upstash Redis) was connected to the project, but only for the “live” version — not for testing on my own laptop. So locally, my code was trying to communicate to a database it couldn’t actually find.
  • Tis problem was found by checking vercel dev on my vs code terminal and it couldnt find database connections.
  • So what did i do? - copied the actual API token and url values straight from Vercel’s Environment Variables page and pasted them into local .env.
  • I have also committed this to github - Commit d53f1a0 (it can make it much easier)

There might be still some problems so this feature wont be working right now (some will tho). So feel free to comment if you come across any bugs when tryin out tis project :bug-1-1-00c9: :bug-2-1-65f1: .

And thats all for today, the next devlog i will surely bring in -

  • Login page working
  • Study room
  • Better AI Model for making notes
  • And more fun ideas
    So thats all, see you next devlogg :nay-bounce: :nay-bounce: :yay:
0
37

Comments 0

No comments yet. Be the first!