https://github.com/zerdicorp/neurotriumph_chat__server
Turing test online platform (chat).
https://github.com/zerdicorp/neurotriumph_chat__server
api neurotriumph-chat server turing-test
Last synced: 3 months ago
JSON representation
Turing test online platform (chat).
- Host: GitHub
- URL: https://github.com/zerdicorp/neurotriumph_chat__server
- Owner: ZERDICORP
- License: mit
- Created: 2022-05-05T05:00:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-12T10:46:35.000Z (over 3 years ago)
- Last Synced: 2025-04-02T20:48:42.078Z (7 months ago)
- Topics: api, neurotriumph-chat, server, turing-test
- Language: Java
- Homepage: https://github.com/ZERDICORP/neurotriumph_chat__server/wiki
- Size: 163 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# neurotriumph_chat__server :robot: :speech_balloon: :man:
#### Turing test online platform (chat).## How to start? :eyes:
> Work done in IntellijIDEA#### 1. Make sure you have mariadb installed
```
$ mysql --version
mysql Ver 15.1 Distrib 10.7.3-MariaDB, for Linux (x86_64) using readline 5.1
```#### 2. Create a databases called `neurotriumph` and `neurotriumph_test`
```
$ mysql -u root -p
MariaDB> create database neurotriumph;
MariaDB> create database neurotriumph_test;
MariaDB> exit;
```#### 3. Add file `src/main/resources/application.properties` with the following content
> Replace all values between <>.
```
# Custom Application Configuration
app.secret=abc123
app.lobby_spent_time=30000
app.chat_messaging_delay=5000
app.required_number_of_messages_to_make_a_choice=10# Database Configuration
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3306/neurotriumph?autoReconnect=true
spring.datasource.username=
spring.datasource.password=# Hibernate Configuration
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB103Dialect# Spring Server Configuration
server.port=8000
server.error.include-message=always
server.servlet.context-path=/api/v1
```#### 4. Add file `src/test/resources/test.properties` with the following content
> Replace all values between <>.
```
# Custom Application Configuration
app.secret=abc123
app.lobby_spent_time=0
app.chat_messaging_delay=0
app.required_number_of_messages_to_make_a_choice=0# Database Configuration
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3306/neurotriumph_test?autoReconnect=true
spring.datasource.username=
spring.datasource.password=# Hibernate Configuration
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB103Dialect# Spring Server Configuration
server.port=8000
server.error.include-message=always
server.servlet.context-path=/api/v1
```#### 5. Now you can run the project :tada: