🎬 Backend Create Event Demo

Test the event creation API endpoint

⚠️ Important: You need a valid Firebase ID token to create events.
For testing, you can get a token by signing up first on the signup demo page

Preview
📝 API Call Made:
POST /api/events

Headers:
Authorization: Bearer <idToken>

Body: {
  "title": "Tech Workshop Demo",
  "description": "Learn React, Node.js, and Firebase in this comprehensive workshop",
  "date": "2024-03-20",
  "time": "14:00",
  "imgUrl": "https://via.placeholder.com/600x300?text=Tech+Workshop",
  "eventMedium": "virtual",
  "totalSlots": 50
}