//signup
POST http://localhost:3002/signup Content-Type: application/json
{
"email" :"manii@gmail.com", "student_id":"225685433", "name" : "Mani", "password":"12345"
}
### GET http://localhost:3002/signup/6354410be87c3ba994c4b951
###
//login POST http://localhost:3002/login Content-Type: application/json
- {
- "email" :"rijin@gmail.com", "password":"12345"
}
### //adding club POST http://localhost:3002/addclub Content-Type: application/json
- {
- "name": "batminton champions", "email":"batminton@gmail.com", "description":"club for football", "image":"https://www.google.com/url?sa=i&url=https%3A%2F%2Funsplash.com%2Fs%2Fphotos%2Fcricket&psig=AOvVaw28zMIxEJ4s7EYUq58O2c3g&ust=1665577888469000&source=images&cd=vfe&ved=0CAsQjRxqFwoTCLjk0qSX2PoCFQAAAAAdAAAAABAE", "location":"coventry", "registrationtime":"11:00pm", "type":"cricket", "president_mail": "batmintonpresident@gmail.com"
}
//getting single club GET http://localhost:3002/addclub/6359145d47a216fbcf7f8cb4
### //getting single club GET http://localhost:3002/signup/6353906dd5dcfb977afa9bd7
###
//deleting club DELETE http://localhost:3002/addclub/6351b26c6a3c4de7769528fd
###
//updating club PATCH http://localhost:3002/addclub/63518079ff2f4e0b74eda4bf Content-Type: application/json
{ "clubname":"football masters" } ### //getting entire club GET http://localhost:3002/addclub ### //adding events POST http://localhost:3002/addevent Content-Type: application/json
- {
- "eventname": "football match", "description":"football event", "image":"https://www.google.com/url?sa=i&url=https%3A%2F%2Funsplash.com%2Fs%2Fphotos%2Fcricket&psig=AOvVaw28zMIxEJ4s7EYUq58O2c3g&ust=1665577888469000&source=images&cd=vfe&ved=0CAsQjRxqFwoTCLjk0qSX2PoCFQAAAAAdAAAAABAE", "location":"coventry", "time":"11:00pm"
}
### GET http://localhost:3002/addevent/63591523594a3f60ecfe1d99
### //getting all events GET http://localhost:3002/addevent
### //updating event PATCH http://localhost:3002/addevent/6351969f4fd72fe9e2807171 Content-Type: application/json
{ "description":"footballl event of football" } ### //getting single event details GET http://localhost:3002/addevent/6351b20d6a3c4de7769528f7 ### //deleting event DELETE http://localhost:3002/addevent/6351969f4fd72fe9e2807171