Git Product home page Git Product logo

live-chat-front's Introduction

LIVE CHAT FRONT

Este proyecto es una demo realizada usando React y Websockets con el empaquetador Vite, se muestra un chat en tiempo real, en donde basicamente los usuarios pueden registrarse y loguearse para ingresar al sitio del chat.

Run the app locally

Debe crear un archivo .env en la raíz del proyecto y agregarle los siguientes parámetros

VITE_BACKEND_URL=
VITE_AVATARS_URL=
VITE_AVATAR_KEY=
  • Backend_url, Backend en tu local host: "http://localhost:5000" (tener en cuenta el número de puerto en que se esta ejecutando el backend)
  • Avatars_url, es la url base de la api de multiavatars.
  • Avatar_key, es la clave propia generada de la cuenta de la api multiavatars.

Luego de tener esto configurado, ejecutar en la terminal:

  • npm run dev

Mas detalle en la documentación oficial de vite.

Producción

A continuación se muestra la demo Aquí. Para poder probar el sitio, puedes loguearte con estos usuarios user1, user2, user3 con contraseña 12345 y usando varias pantallas a la vez; O también puedes crear tu propio usuario; registrándote.

live-chat-front's People

Contributors

marccmartian avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.