Project-Stage-Academy / UA1244_beta

1 stars 0 forks source link

Added API endpoints to list all startups an investor has saved and to manage these saved entries #113

Open k0drin opened 3 hours ago

k0drin commented 3 hours ago

he API endpoint for saved startups includes a GET endpoint at /api/investor/saved-startups/, allowing authenticated investors to retrieve a list of their saved startups. Additionally, a DELETE endpoint at /api/startups//unsave/ enables investors to unfollow previously saved startups. The implementation includes clear error handling for cases where the Investor or InvestorFollow records are missing, and permissions are enforced to ensure only authenticated investors can access or modify their saved startups.

1 2 3 4 5 6 7