Date: 1.5.2024
Scaffold on Bolt.new
Date: 2.5.2024
Next:
Integrate Supabase (done)Intergrate VercelSetup CI/CD properlyTest liveWork on databaseWork on APIFront-end design
Foundational Steps
**Initialize Supabase Project*:Task:Create tables, enable RLS, and set up Storage buckets.Seed test data for development.
-
Requirement:
**Next.js + Supabase Setup*:Build basic CRUD pages (Library, Book Profile).Integrate Auth and Storage SDKs.
**Edge Functions Skeleton*:Deploy boilerplate functions for file processing and prioritization.
Page: HomepageComponents: Mission BoardComponents: Goals and ChallengesComponents: Activity FeedComponents: Reading Stats
Page: PreferencesComponents: User Profile (as Tab 1)Components: Setting (as Tab 2)
Page: Listing PageComponents: Grid List ViewCan be sorted to see books or tagsThen can be sorted/filter to see which books or which tags
Components: Book Profile (A popup that almost looks like a page, where user can setup the book profile, this book profile consist of two tabs)
Components: Upload Page (A popup which user can drag and drop, or select file to be upload.)Done!
Latest: 4.2 (Done!)
Auth:
User Interface and ExperienceAdding Google AuthSession Management (remember option to keep users logged in)Session ExpiryPrivacy Policy and Terms of Service confirmation and user agreement during sign up.
Security EnhancementRate Limiting: Implement rate limiting to prevent brute-force attacks on login attempts.Password Strength Indicator: Provide real-time feedback on password strength to encourage users to use stronger passwords.Account Lockout Policy: After several failed login attempts, temporarily lock the account or require CAPTCHA.
Error Handling and Feedbacks4.Sign up dialog (confirmation of signing up success and ask user to check email for confirmation)5.Forgot Password (explanation, as of now when user try to reset their password, after they input their email, there’s nothing happen, despite they will get an email asking for reset password, there must be a message to tell the user to check the email, or that forgot password request is successful)6.Wrong Password / Account have not created etc (a detailed error messages, telling either the email not yet verified, no account with this email, invalid credential for wrong password)
- ~~Adding a sign-out button to your layout~
Date: 5.2.2024
Front-end Easy:
2. Sidebar, collapsible and moveable, we have to fix that.
3. Sidebar (logo, placement, and removal of home, and instead just use Icon as home, also add the line when user toggle, and remove the > icon)
1.
4. Removal auth debug info, to “We need to create a “profile picture” function, where user know they are logged-in”
1.
2. Remove preferences button, instead change it to the gear icon at the right side of the profile.
Bulk Upload components,Improve uploading mechanismUpload Progress barAuto-detect Name, Title, Author etc
- ~~Back-end consistency~