A simple chat application written in Java with a simple username password based authentication and multiple chatrooms.
- Java 8
- Maven
- Apache Tomcat
- Clone this Repository
- Install a DB server of your choice
- Write a DB Client under
src/main/java/com/webchat/db/implas an implementation ofcom.webchat.db.DBService. A Maria DB Client already exists. - Modify
src/main/resources/db.propertieswith your DB server's details - Run
sql\ddl.sqlon DB - Run a maven clean and install
- Install the target war file on the tomcat server
- Run the tomcat server
- Navigate to
hostURL\index.jspwhere hostURL is the URL on which the tomcat server is running - Register a few users
- Assign 'team's to the registered users by inserting to the
TEAMtable - Log in as a user and chat