This PR implements the functionality to save links for authenticated users after successful login. The saved links are stored in the backend database.
Usage Instructions
Starting Supabase Service
Start the Supabase service by navigating to the PersonalKnowledge/server directory:
supabase start
Retrieve relevant Supabase service information. Open the Studio URL to view database changes.
Starting Frontend Project
Navigate to the PersonalKnowledge/web directory:
Start the frontend project using npm:
npm run dev
Upon initial login, use Google OAuth.
Using Save Webpage Feature
Navigate to the "Saves" page in the web application.
Click on the plus (+) button to add a new link.
Paste the link you want to save and select a link label (e.g., "to visit" or "to eat").
Click the submit button.
If the submission is successful, a notification will pop up indicating save successfully.
Database Changes
Check the changes in the backend database in Supabase by selecting Table Editor and viewing the links table to ensure that your link is successfully saved.
Fix error
If you have " Cannot submit " error, you can run
supabase migration list --db-url postgresql://postgres:postgres@127.0.0.1:54322/postgres
supabase migration up
Feedback and Contributions
Any feedback and suggestions for this feature are welcome. Contributors are encouraged to submit pull requests or open issues for improvements.
Project Name
Description
This PR implements the functionality to save links for authenticated users after successful login. The saved links are stored in the backend database.
Usage Instructions
Starting Supabase Service
Start the Supabase service by navigating to the
PersonalKnowledge/server
directory:Retrieve relevant Supabase service information. Open the Studio URL to view database changes.
Starting Frontend Project
PersonalKnowledge/web
directory:Using Save Webpage Feature
Database Changes
Check the changes in the backend database in Supabase by selecting Table Editor and viewing the links table to ensure that your link is successfully saved.
Fix error
If you have " Cannot submit " error, you can run
Feedback and Contributions
Any feedback and suggestions for this feature are welcome. Contributors are encouraged to submit pull requests or open issues for improvements.