The Klustr API is a backend service for the Klustr chat application, built using .NET Web API, SignalR for real-time communication, and PostgreSQL as the database. This API handles user authentication, room management, messaging, and audio/video chat functionalities.
Before you begin, ensure you have met the following requirements:
- .NET SDK installed.
- PostgreSQL database setup.
- Basic knowledge of .NET Web API, SignalR, and PostgreSQL.
- .NET Web API
- SignalR
- PostgreSQL
- JWT for authentication
- Clone the repository:
git clone https://github.com/Klustr-RTC/klustr-api.git
- Navigate to the project directory:
cd klustr-api
-
Create a
.env
file in the root directory and add the environment variables as mentioned in the.env.example
file in root directory. -
Restore NuGet packages:
dotnet restore
- Apply database migrations:
dotnet ef database update
- Run the API:
dotnet run
- Open http://localhost:5147/swagger/index.html in your browser to view the api documenetation.
- User Authentication: Register and login users using JWT.
- Room Management: Create, update, delete, and manage rooms.
- Messaging: Real-time messaging using SignalR.
- Audio/Video Chat: WebRTC integration for audio and video communication.
- Profile Management: View and edit user profiles.
- Link Generation: Generate and manage shareable links for rooms.
For inquiries or support, please contact: