Emmanuel Pelletier f11bcea3a2 🔒️(frontend) valide ':roomId' path using a regex
Enhanced security by ensuring users are redirected to a 404 error page
if they
pass an incorrect roomId path, either intentionally or unintentionally.
This is
a critical security mechanism that should be included in our MVP.

Let's discuss extracting hardcoded elements, such as lengths or
the separator, into proper constants to improve code maintainability.
I was concerned that this might make the code harder to read, it could
enhance
clarity and reusability in the long term.

I prefer exposing the roomIdRegex from the same location where we
generate IDs.
However, this increases the responsibility of that file. Lmk if you have
any
suggestion for a better organization.

Additionally, the current 404 error page displays a 'Page not found'
message for
invalid room IDs. Should we update this message to 'Invalid room name'
to
provide more context to the user?
2024-07-21 17:18:29 +02:00
2024-07-02 19:36:09 +02:00
2024-07-18 16:03:19 +02:00
2024-06-25 12:48:54 +02:00
2024-06-25 12:48:54 +02:00
2024-06-25 12:48:54 +02:00
2024-07-16 16:44:30 +02:00
2024-06-25 12:48:54 +02:00
2024-06-25 12:48:54 +02:00
2024-07-12 10:49:30 +02:00
2024-07-01 19:46:55 +02:00
2024-07-01 19:46:55 +02:00
2024-06-25 12:48:54 +02:00
2024-06-25 12:48:54 +02:00

Meet

Meet is a simple video and phone conferencing tool, powered by LiveKit.

Meet is built on top of Django Rest Framework and Vite.js.

Getting started

Prerequisite

Docker

Make sure you have a recent version of Docker and Docker Compose installed on your laptop:

$ docker -v
  Docker version 20.10.2, build 2291f61

$ docker compose -v
  docker compose version 1.27.4, build 40524192

⚠️ You may need to run the following commands with sudo but this can be avoided by assigning your user to the docker group.

LiveKit CLI

Install LiveKit CLI, which provides utilities for interacting with the LiveKit ecosystem (including the server, egress, and more), please follow the instructions available in the official repository.

Project bootstrap

The easiest way to start working on the project is to use GNU Make:

$ make bootstrap FLUSH_ARGS='--no-input'

Then you can access to the project in development mode by going to http://localhost:3000. You will be prompted to log in, the default credentials are:

username: meet
password: meet

This command builds the app container, installs dependencies, performs database migrations and compile translations. It's a good idea to use this command each time you are pulling code from the project repository to avoid dependency-related or migration-related issues.

Your Docker services should now be up and running 🎉

[FIXME] Explain how to run the frontend project.

Configure LiveKit CLI

For the optimal DX, create a default project named meet to use with livekit-cli commands:

$ livekit-cli project add
URL: http://localhost:7880
API Key: devkey
API Secret: secret
Give it a name for later reference: meet
? Make this project default?? [y/N] y

Thus, you won't need to pass the project API Key and API Secret for each command.

Adding content

You can create a basic demo site by running:

$ make demo

Finally, you can check all available Make rules using:

$ make help

Django admin

You can access the Django admin site at http://localhost:8071/admin.

You first need to create a superuser account:

$ make superuser

Contributing

This project is intended to be community-driven, so please, do not hesitate to get in touch if you have any question related to our implementation or design decisions.

License

This work is released under the MIT License (see LICENSE).

Description
No description provided
Readme 21 MiB
Languages
TypeScript 45%
Python 44.7%
JavaScript 6.8%
Shell 0.9%
CSS 0.7%
Other 1.9%