Java, NoSQL, SQL, REST API and other scary words

Simple Chat Application (REST API)


This is a simple restfull chat application to send messages between friends. Key features:

  • Register to the System
  • Login
  • Send/Approve Friendship Request
  • View friends list
  • Ignore User
  • Send Message
  • Delete account Minor features:
  • Auto update messages and friends lists
  • Security by Token

Link to the project upon request.

Short Demo


Simple Chat is a 3 tier Web application:

  • The DB has been developed on MySQL Workbench 6.3.
  • As a Backend I used Apache Tomcat with Java and JDBC, Server responds with XML or JSON (I used both format to show the difference, but JSON is preferrable for AngularJS) by HTTP GET.
  • The Front End is AngularJS with JavaScript, which provides great flexibility (I didn’t use bootstrap library and all CSS file is a custom one).

High level application architecture



I prepared UI automation tests automation using Selenium, Java(Junit) and Ant library for displaying test suites results. This is a separate application:

Database model


If somebody would like to reproduce my application for educational purposes, then I would recommend next resources:

RESTful Web Services. Introduction

Angular JS documentation

AngularJS $http Service

AngularJS menu implementation

Angular list implementation

XML data format

This one will help you to generate id for your session


3 thoughts on “Simple Chat Application (REST API)

  1. Pingback: Test Suites for Simple Chat Application (REST API) | Alexey Kiselev

  2. shasha says:

    hello ,

    can i get the source code of this application ?
    looking forward for your reply.
    Thank you.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.