ishanjogalekar / Emergency-Responder-Service

Emergency responder service using Spring-boot application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emergency-Responder-Service

Emergency responder service using Spring-boot application


Requirements :

  1. JDK 17
    • If choosing another version of JDK specify in pom.xml file
  2. MySQL Database or any other relational Database.
  3. Browser to deploy app on localhost
    • As spring is already loaded with Tomcat server with localhost:8080 no need to use external server
    • In Intellij idea properties direct opening in Chrome at localhost:8080 settings already created
  4. Maven dependencies are injected directly to avoid tight coupling in codes.
  5. Java directory contains all backend part while resources-> templates contains frontend as HTML files with bootstrap css & server-side Java script coupled with Thymeleaf template.

Steps for deployment :

Admin Console :

  1. User and Admin consoles are different.
  2. Admin console is spring boot security protected.
  3. General sign in for admin console is :
    • Username : Admin
    • Password : admin4567
  4. You can also add your own password with MySQL database, for that read DB.sql file.
  5. Passwords are Bcrypt encrypted for security purposes.
  6. It runs on port: 8086 , for that check application.properties of admin.
  7. Admin console provides update and delete feature along with chat API control panel.

User Console :

  1. Simple interface and it is not password protected.
  2. It will take users data and store it to database and arrange it according to priority.
  3. For security purposes in user console to avoid web attacks WebSecurityConfigurerAdapter is included.
  4. It runs on port: 2002 , for that check application.properties of user.

General :

  1. All frontend is developed using HTML5, CSS and Bootstrap CSS.
  2. Chat API is JS script included in particular Pages.
  3. For any Spring-boot application HTML frontend / files is located in resources directory.

Used tech stacks


Chat-API Live


Testing :

  1. Security testing is done using OWASP ZAP tool. Security Report
  2. Functional and components testing , HTML pages testing is done using Lighthouse tool. Components Report

About

Emergency responder service using Spring-boot application


Languages

Language:HTML 56.6%Language:Java 32.3%Language:CSS 11.1%