A RESTful Chat Application developed using:
- Spring Boot
- Hibernate ORM
- My SQL
- Spring Security
Refer to Wiki pages for application details, usage and endpoint informations.
There are two ways to run this application, through the pre-built jar or by importing the project in choice of IDE.
- My SQL Server running on port 3306 (or update application.properties under resources if running from IDE)
- Import the schema in My SQL. The mysqldump is present here
- The embedded tomcat server will run on port 8080, make sure it is free.
- Download the Jar file ChatApplication-1.0-SNAPSHOT.jar
- Run the jar file using below command:
java -jar ChatApplication-1.0-SNAPSHOT.jar
- pass -Dserver.port=8888 as argument to java jar statement.
Below steps are for Eclipse IDE
- Download the project and unzip in local system.
- Open eclipse.
- Click File > Import.
- Type Maven in the search box under Select an import source.
- Select Existing Maven Projects.
- Click Next.
- Click Browse and select the folder that was unzipped in step 1 (contains the pom.xml file)
- Click Next.
- Click Finish.
- If need to change the tomcat server port, modify server.port in application.properties
- Run ChatApplication.java present under com.cirtual package as Java Application.
- Change HTTP Basic auth to OAuth
- Add more JUnit testing for Services and Repositories
- Build UI
- Include WebSocket for runtime polling of chat messages.
- Notification to recipient user when new message is received.