https://github.com/confusedgustas/chat
Groupe Chat
https://github.com/confusedgustas/chat
clean-code docker java javascript liquibase maven pgadmin spring vite websocket
Last synced: 9 months ago
JSON representation
Groupe Chat
- Host: GitHub
- URL: https://github.com/confusedgustas/chat
- Owner: confusedGustas
- License: mit
- Created: 2025-02-02T15:02:33.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-18T18:15:48.000Z (10 months ago)
- Last Synced: 2025-02-18T18:25:44.488Z (10 months ago)
- Topics: clean-code, docker, java, javascript, liquibase, maven, pgadmin, spring, vite, websocket
- Language: Java
- Homepage:
- Size: 184 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 WebSocket Chat Application
A real-time chat application using WebSockets for instant messaging and Spring Boot for the backend.
## 🔗 Services & Access Information
| 🛠 Service | 🌍 URL / Port | 👤 Username | 🔑 Password |
|-------------------|------------------------------------------------|-------------------|--------------|
| **Spring Boot** | `http://localhost:8080` | - | - |
| **PostgreSQL** | `localhost:5432` | `admin` | `admin` |
| **pgAdmin** | [http://localhost:8282](http://localhost:8282) | `admin@gmail.com` | `admin` |
| **Frontend** | [http://localhost:5173](http://localhost:5173) | - | - |
## 📝 Environment Variables
The environment variables are configured in the `.env` file that you need to create in the root directory:
```sh
# PostgreSQL
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: postgres
# Spring Boot
SPRING_USERNAME: admin
SPRING_PASSWORD: admin
# pgAdmin
PGADMIN_USERNAME: admin@gmail.com
PGADMIN_PASSWORD: admin
```
# Project Setup
## Prerequisites
- **Java 23**
- **Maven**
- **Docker**
- **Node.js**
## Running the Services
### 🚢 Start Service
```sh
docker compose up
```
### 🚀 Start Spring Boot
```sh
./mvnw spring-boot:run
```
## 📜 License
This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.