- SprintBoot
- Vue
- MySQL
git clone https://github.sydney.edu.au/ELEC5619-Group-26/ELEC5619-2021S2-G26.git
cd ELEC5619-2021S2-G26-master
Talk Toghther System is a real-time chat system that allows user to perform random matching chat with a stranger, chat with friends and join existing group rooms to chat with multi-person who has similar interest.
-
Please find the file with the .sql suffix in the elec5619 folder we have provided
-
Open your mysql gui tools, such as datagrip etc.
-
Create a schema called elec5619
-
Import the sql file from the elec5619 folder into the elec5619 schema
-
Use Intellij to open elec5619 folder (You can drag and drop the elec5619 folder directly onto the intellij icon)
-
Open src/main/resoucres, open application.yml file,
- set url to "jdbc:mysql://localhost:3306/elec5619"
- set username and password to your own database username and password
-
Run the ServerApplication main() method in WebSocketChatApplication class
-
Please make sure that your port 3001 is not occupied
-
Make sure you have node.js installed on your mac or pc
-
If you have not downloaded node.js, please visit the following website to do so. If you have node.js on your computer, please ignore this step
-
When you've finished the installation, run npm -v in cmd or terminal, making sure you have the npm command available
npm -v // check npm version
-
Then use cmd or terminal enter elec5619/client folder
cd elec5619/client
-
Before running following commands in cmd or terminal, Please make sure your port 8080 is not occupied
npx kill-port 8080 // if your port 8080 is occupied
npm install
npm run serve
- Open browser and type http://localhost:8080/login**
- Backend
- fastjson -> Version: 1.3.32
- spirng-websocket -> Version: 5.3.4
- jacson-datatype-hibernate5 -> Version: 2.10.1
- Java-Websocket -> Version: 1.3.0
- Commons-codec -> Version: 1.13
- Lombok -> version: 1.16.22
- spring-boot-starter-mail (Java Mail) -> Version: 2.5.6
- Spring-boot-starter-data-jpa -> version: 2.5.6
- Frontend
- Baidu Translate API -> Version: 0.4.3
- Vue-lazyload -> Version: 1.3.3
- Js-md5 -> Version: 0.7.3
- ant-design-vue -> Version: 1.7.8
- axios -> Version: 0.18.0
- less-loader -> Version: 7.3.0
- Login
- Sign up (New customer will receive a welcome email)
- forget password (auto send new password to customer via email)
- Random Chat
- Group Chat
- One to One Chat
- Add Friend (When user in random chat)