Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Teamsphere Backend
Welcome to the backend of Teamsphere, a chat application built with Spring Boot. This application provides the core functionality for one-on-one chats, user authentication, and profile image storage. Future updates will include group chat functionality using web sockets with the STOMP protocol and RabbitMQ.
Welcome to the backend of Teamsphere, a chat application built with Spring Boot. This application provides the core functionality for one-on-one chats, user authentication, and profile image storage. Future updates will include group chat functionality using web sockets.

## Table of Contents

Expand Down Expand Up @@ -97,12 +97,6 @@ openssl pkcs8 -in keypair.pem -topk8 -nocrypt -inform PEM -outform PEM -out priv
hibernate:
ddl-auto: update
show-sql: true
rabbitmq:
host: localhost
password: guest
port: 61613
requested-heartbeat: 580
username: guest
servlet:
multipart:
max-file-size: 20MB
Expand All @@ -121,16 +115,6 @@ openssl pkcs8 -in keypair.pem -topk8 -nocrypt -inform PEM -outform PEM -out priv
MYSQL_DATABASE: teamsphere_db
ports:
- "3306:3306"
rabbitmq:
image: rabbitmq:management
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
command: >
bash -c "rabbitmq-plugins enable rabbitmq_stomp && rabbitmq-server"
ports:
- "61613:61613"
- "15672:15672"
```

## M-Chip MAC users
Expand Down
3 changes: 1 addition & 2 deletions backend-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,11 @@
</executions>
<configuration>
<configLocation>${project.basedir}/checkstyle.xml</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
</configuration>
</plugin>
</plugins>
</build>

</project>
</project>

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions backend-service/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ spring:
hibernate:
ddl-auto: update
show-sql: true
rabbitmq:
host: rabbitmq-dev
username: ${RABBITMQ_DEV_USERNAME}
password: ${RABBITMQ_DEV_PASSWORD}
port: 61613
requested-heartbeat: 580
servlet:
multipart:
max-file-size: 20MB
Expand Down
8 changes: 1 addition & 7 deletions backend-service/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ spring:
hibernate:
ddl-auto: update
show-sql: true
rabbitmq:
host: localhost
username: ${RABBITMQ_USERNAME}
password: ${RABBITMQ_PASSWORD}
port: 61613
requested-heartbeat: 580
servlet:
multipart:
max-file-size: 20MB
Expand All @@ -43,4 +37,4 @@ management:
include: health, info, metrics
info:
build:
enabled: true
enabled: true
8 changes: 1 addition & 7 deletions backend-service/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ spring:
database: mysql
hibernate:
ddl-auto: update
rabbitmq:
host: rabbitmq
username: ${RABBITMQ_USERNAME}
password: ${RABBITMQ_PASSWORD}
port: 61613
requested-heartbeat: 580
servlet:
multipart:
max-file-size: 20MB
Expand All @@ -38,4 +32,4 @@ spring:
app:
environment:
ALLOWED_ORIGINS:
- ${ALLOWED_ORIGIN}
- ${ALLOWED_ORIGIN}
14 changes: 0 additions & 14 deletions backend-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,3 @@ spring:
show-sql: true
profiles:
active: local
rabbitmq:
cache:
channel:
size: 10
host: ''
password: ''
port: 15672
requested-heartbeat: 580
username: ''
virtual-host: ''
twilio:
accountSid: ''
authToken: ''
phoneNumber: ''
10 changes: 0 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,3 @@ services:
MYSQL_DATABASE: teamsphere_db
ports:
- "3306:3306"
rabbitmq:
image: rabbitmq:management
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
command: >
bash -c "rabbitmq-plugins enable rabbitmq_stomp && rabbitmq-server"
ports:
- "61613:61613"
- "15672:15672"
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@
<artifactId>spring-dotenv</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.amqp</groupId>
<artifactId>spring-amqp</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns-native-macos</artifactId>
Expand Down