- Multi-Room Chat App with user authentication
- React
- Bootstrap
- Firebase auth - phone authentication
- JWT authentication
- Socket.IO for WebSocket connection
- Docker
Note
Project depends on Firebase configuration, which is set in environment variables, so in order to start up the project by cloning, you need to setup you own Firebase project and put configuration in .env file
-
Use the
git clone https://github.com/ZdravDim/Chat-App-Front-Web.git
command to clone the project and thennpm install
to install dependencies. -
Run
npm run build
to create a production build, thennpm install -g serve
to install serve thenserve -s build
to serve static files, it will run on http://localhost:80
- Install Docker
- Download https://github.com/ZdravDim/Chat-App-Front-Web/blob/main/docker-compose.yaml
- Use the
cd
command to navigate to folder containing downloaded file - Then run
docker-compose up
- Frontend will run on http://localhost:80
- Backend will run on http://localhost:8080