This web application was created in collaboration with the social entrepreneurship Incluyo to achieve a system of attention to LGBTQ+ people in a direct way in which their privacy is prioritized.
This web application was created with React and VITE. It uses HTTP requests for user authentication through Supabase Auth System. It also communicates with the Supabase database to show the messages sent and received from the different chats.
For real-time communication, it uses websockets (socket.io) that communicate with the web server (shown in this repository), so that it processes the messages received and sent.
- Node: v18.17.0
With npm:
npm installTo have access, it is required to create or ask for document .env with four variables:
- VITE_SUPABASE_URL: The URL of the supabase database.
- VITE_TOKEN: Token provided by supabase.
Once all the dependencies are installed, the web server will execute locally with the following:
npm run devYou will know that everything is running correctly when the console displays the following:
VITE [version] ➜ Local: http://localhost:5173/ ➜ Network: http://{YOUR-LOCAL-IP}:5173/ ➜ press h to show help