Skip to content

Conversation

@ADARSHsri2004
Copy link
Contributor

Description

This pull request implements the room management flow , including frontend and backend integration.

Key Features Added

  • Create Room (Frontend + Backend Integration)

    • Added CreateRoom.tsx page for authenticated users to create a new video room.
    • On successful creation, the user is redirected to a new CreateRoomLobby page.
    • Connected to backend endpoint POST /api/rooms/createRoom.
  • Join Room (Frontend + Backend Integration)

    • Added JoinRoom.tsx page allowing users to join an existing active room using its name or ID.
    • Integrated with backend route POST /api/rooms/:roomIdOrName/join.
  • Room Lobby Page (CreateRoomLobby.tsx)

    • Displays created room details (name, ID).
    • Allows copying a shareable room link.
    • Provides navigation to the active call interface /room/:roomId.
  • Routing Setup

    • Configured React Router paths for /create, /join, /lobby/:roomId, and /room/:roomId.

Technical Notes

  • Axios calls now include token-based authentication using Authorization: Bearer <token>.
  • Integrated loading states and error handling for better UX.
  • Implemented dynamic room fetching in CreateRoomLobby using listRooms API.

Semver Changes

  • Minor (new features, no breaking changes)

Issues Closed

Closes #58


Checklist

image image

Copy link
Member

@04shubham7 04shubham7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good

@04shubham7 04shubham7 merged commit 2254e92 into OPCODE-Open-Spring-Fest:main Nov 6, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Backend Room Routes Not Integrated in Frontend

2 participants