SaranshBangar / Daneizo

Why buy when you can rent it!
https://daneizo.vercel.app/
MIT License
24 stars 43 forks source link

ADD Renting APIs #116

Open haseebzaki-07 opened 1 month ago

haseebzaki-07 commented 1 month ago

fixes #106

This PR adds the APIs that are helpful for renting products on the website.

Api to create a user: Screenshot 2024-10-17 235752

Api to create custom products: Screenshot 2024-10-18 000112

Api to create rentals i.e. linking products with users Screenshot 2024-10-18 000725

Api to get products according to availability (note : laptop previously created is not visible because it is booked by a user in rentals API and its availability changed to false) : Screenshot 2024-10-18 001055

Api to delete rentals (remove if the rent period is over): Screenshot 2024-10-18 001940

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
daneizo ❌ Failed (Inspect) Nov 5, 2024 0:14am
haseebzaki-07 commented 1 month ago

hey @SaranshBangar please review this PR

haseebzaki-07 commented 1 month ago

hey @SaranshBangar Please check as I have resolved the errors

haseebzaki-07 commented 3 weeks ago

hey @SaranshBangar please review this PR

haseebzaki-07 commented 3 weeks ago

@SaranshBangar please review

haseebzaki-07 commented 3 weeks ago

hey @SaranshBangar please finalize this PR

Kuldeepsinghrajpoot commented 2 weeks ago

remove the conflict

haseebzaki-07 commented 2 weeks ago

hey @Kuldeepsinghrajpoot resolved the conflicts

aslams2020 commented 1 week ago

This has been merged by GSSoC team here - https://github.com/sanjay-kv/Open-source-Practice/pull/1465

PA you can close this PR and dont give any labels now