An instant web chat room that matches users based on their interests
This project is an online chat room based on AJAX polling technology, which has realized basic functions such as user registration, login, and private chat based on interest matching.
-
Login UB VPN (Database connection required)
-
Download the tomcat apache: (we are using "Tomcat 9.0.63 Released")
https://www.jetbrains.com/idea/ -
Download IntelliJ IDEA
https://www.jetbrains.com/idea/-Download and Implement SDK 11, more information:
https://www.jetbrains.com/help/idea/sdk.html#change-module-sdk
git clone https://github.com/xlab-classes/cse442-spring2022-team-heart.git
After cloning the project, open the project in IntelliJ IDEA .
-
In
Project Structure -> Project
: make sure we are usingSDK 11
-
In
Project Structure -> Artifacts
:
Click the add button then selectWeb Application:Exploded -> From Modules
Selectweb
and click OK:
-
On the upper Right corner, click
Edit Configurations
to Configure the Tomcat server.
-
Make sure HTTP port is 8080 and URL has /SignIn.html at the end:
URL : http://localhost:8080/web_war_exploded/SignIn.html
HTTP Port : 8080
-
Click
Configure
, then click the add button to select the root directory of the tomcat apache file we downloaded.
Select file then press Ok:
Press Ok:
-
Click the
fix
to automatically add the artifacts:
check thatDeployment
has a file, and press ok:
-
Now we can click the run button to run the tomcat servers! (Locally)
- Users can sign-in/sign-up an account
- Users can select or create or delete their interest label
- Users can match random people with similar interests
- Users can add friends by searching their friend’s username
- Users can chat with other users
- Users can delete/unfriend other users
- Users can change their password if they forgot the password
- Front End: HTML, CSS, JAVASCRIPT(Use AJAX), Figma
- Back End: JAVA, MySQL Database
- Server: Tomcat