LakshmiSowmya04 / Task-Manager

simple task management application built using the MERN stack
15 stars 36 forks source link

Added API folder for Frontend #29

Closed Harsh-Aakoliya closed 1 month ago

Harsh-Aakoliya commented 1 month ago

Now all the request to Backend will be routed through index.js file of API folder so now onwards if anyone want's to make any API request to backend they just need to import this index.js file as

import *as api from "../../Api/index"

then define API in this file

and use it as below

response = await api.signUp({ name, email, password }); response= await api.logIn({ email, password });

and so on ...

LakshmiSowmya04 commented 1 month ago

@Harsh-Aakoliya can u rebase from the latest main branch and make a PR again

Harsh-Aakoliya commented 1 month ago

I am bigginer at GitHub and git commands (😅) I do not know how to do that

here is my branch list so can you suggest to me how i can perform rebase image

LakshmiSowmya04 commented 1 month ago

No worries ...you are doing good even as beginner https://youtu.be/yyNySJctW2Y?si=4xUjFDduIPzsiQPi

On Tue, Oct 1, 2024, 12:06 Aakoliya Harsh @.***> wrote:

I am bigginer at GitHub and git commands (😅) I do not know how to do that

here is my branch list so can you suggest to me how i can perform rebase image.png (view on web) https://github.com/user-attachments/assets/f9f109eb-acd6-4df5-83ff-ab438d859ed9

— Reply to this email directly, view it on GitHub https://github.com/LakshmiSowmya04/Task-Manager/pull/29#issuecomment-2384915686, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2XMWL5WVDWUXNRZGW2OYMTZZI7FLAVCNFSM6AAAAABPEXVPG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUHEYTKNRYGY . You are receiving this because you commented.Message ID: @.***>

Harsh-Aakoliya commented 1 month ago

just check out PR with rebased code https://github.com/LakshmiSowmya04/Task-Manager/pull/31