Giter VIP home page Giter VIP logo

restful-chat-application's Introduction

RESTful-Chat-Application

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.

How to run the application

There are two ways to run this application, through the pre-built jar or by importing the project in choice of IDE.

Pre-requisites

  • 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.

Through Jar

  1. Download the Jar file ChatApplication-1.0-SNAPSHOT.jar
  2. Run the jar file using below command:
java -jar ChatApplication-1.0-SNAPSHOT.jar
  • pass -Dserver.port=8888 as argument to java jar statement.

By Importing in IDE

Below steps are for Eclipse IDE

  1. Download the project and unzip in local system.
  2. Open eclipse.
  3. Click File > Import.
  4. Type Maven in the search box under Select an import source.
  5. Select Existing Maven Projects.
  6. Click Next.
  7. Click Browse and select the folder that was unzipped in step 1 (contains the pom.xml file)
  8. Click Next.
  9. Click Finish.
  • If need to change the tomcat server port, modify server.port in application.properties
  1. Run ChatApplication.java present under com.cirtual package as Java Application.

Future work / ToDo

  • 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.

restful-chat-application's People

Contributors

ashutoshchaturvedi avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.