Emergency-Responder-Service
Emergency responder service using Spring-boot application
Requirements :
- JDK 17
- If choosing another version of JDK specify in pom.xml file
- MySQL Database or any other relational Database.
- 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
- Maven dependencies are injected directly to avoid tight coupling in codes.
- 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 :
- User and Admin consoles are different.
- Admin console is spring boot security protected.
- General sign in for admin console is :
- Username : Admin
- Password : admin4567
- You can also add your own password with MySQL database, for that read DB.sql file.
- Passwords are Bcrypt encrypted for security purposes.
- It runs on port: 8086 , for that check application.properties of admin.
- Admin console provides update and delete feature along with chat API control panel.
User Console :
- Simple interface and it is not password protected.
- It will take users data and store it to database and arrange it according to priority.
- For security purposes in user console to avoid web attacks WebSecurityConfigurerAdapter is included.
- It runs on port: 2002 , for that check application.properties of user.
General :
- All frontend is developed using HTML5, CSS and Bootstrap CSS.
- Chat API is JS script included in particular Pages.
- For any Spring-boot application HTML frontend / files is located in resources directory.
Used tech stacks
Testing :
- Security testing is done using OWASP ZAP tool. Security Report
- Functional and components testing , HTML pages testing is done using Lighthouse tool. Components Report