Project Links
Frontend Deploy:- https://pay-pal-front-end.vercel.app/login
Frontend Git:- https://github.com/AshishKohad27/PayPal_FrontEnd
Backend :- https://chocolate-abalone-gear.cyclic.app/
- Run
npm run start
on terminal - You will get
URL
like thishttp://localhost:7878
server running on port number7878
{
"email": "demo@gmail.com",
"password": "demo"
}
Method:"POST"
Payload: {
"email": "demo@gmail.com",
"password": "demo"
}
http://localhost:7878/auth/signup
- Access Token: which has expired time round 4 days
- Refresh Token: which has expired time round 7 days, by this token we can refresh or create new access token for our app.
{
"email": "demo@gmail.com",
"password": "demo"
}
Method:"POST"
Payload: {
"email": "demo@gmail.com",
"password": "demo"
}
http://localhost:7878/auth/login
//accept body as token
const { token } = req.body;
// then with the help of jwt.verify getting all details under jwt token
const verification = jwt.verify(token, "XXXXXXXX_XX");
Method:"POST"
Payload: {
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDFkYjRlNTAzNGI0ZjUwMWQ0MTJhMjIiLCJlbWFpbCI6ImFzaGlzaGtvaGFkQGdtYWlsLmNvbSIsIm5hbWUiOiJBc2hpc2ggS29oYWQiLCJpYXQiOjE2Nzk2Njg2NzAsImV4cCI6MTY4MDAxNDI3MH0.zkKdB91j-dSVlHAnUpVQhe7OqSRh95KYHTZLehecMPU"
}
http://localhost:7878/auth/verify
Method:"GET"
http://localhost:7878/sprint
Method:"POST"
Payload: {
"endDate": "2023-03-26",
"name": "Sprint 1",
"startDate": "2023-03-20"
}
http://localhost:7878/sprint
Method:"DELETE"
http://localhost:7878/sprint/:SprintId
Method:"GET"
http://localhost:7878/task
Method: "POST"
Payload: {
"assignedBy": "xxxxxx",
"assignedTo": "xxxxxx",
"description": "Bug Report",
"status": "done",
"title": "bug Reort",
"sprintId": "641df509ccd57033083bac81"
}
http://localhost:7878/task/
Method: "PATCH"
Payload:{
"assignedBy": "xxxxxx",
"assignedTo": "xxxxxx",
"description": "Bug Report",
"status": "done",
"title": "bug Reort",
"sprintId": "641df509ccd57033083bac81"
}
http://localhost:7878/task/:taskId
Method:"DELETE"
http://localhost:7878/sprint/:taskId
Method: "GET"
Parameters:"?sprintId="
http://localhost:7878/sprint/filter?sprintId=""
Method: "GET"
Payload:{
"userName": "xxxx xxxx"
}
http://localhost:7878/sprint/individual