The main aim of this system is to maintain and manage detailed information of the crime happened in an area under a particular police station. This software will be used by the police officials in the Police station.
Aspiring Java Backend Developer. An individual who can write clean
and optimize code. Like to solve Data Structure and Algorithms
problems. I have made some solo and collaborative projects and
continue to have some experience as well as acquiring more
knowledge. Looking for enhancing my skills as a Backend Developer.
Try to use a meaningful commit message after each commit.
Divide your GitHub commits based on each functionality so that it is easy to find the code error and you can easily roll back your changes based on your commit id.
Try to create meaningful branch names so that others can understand, what code changes anyone can guess.
Follow the best practice to create a .env file[ to store your secret i.e(db_username & password) and also create .gitignore.
Try to create an Exception class for each class admin,crime_info, criminal_list, and police_station.
Functionality Issue
ADMIN
** admin table should have some auto_incremented id attribute to do curd operation in the admin table.
** while creating an admin profile make sure both username and password are not the same[apply validation while creating new admin].
** username and password should be case-sensitive while logged in through your application.[Use Binary keyword in mysql].
** Admin should have the option to view all crime information based on crime_id.
** Admin should have the option to view all crime information based on criminal_id. CRIME_INFO
** It's better if crime_Id is auto_cremented primary key column.
** Add One column of the total number of crime victims.
** Add One Column that depicts crime time.
** One Additional column Criminal ID should be present[ which is nullable if it's new criminal]
** Add One Column that depicts equipment involved in crime.
** I saw one crime status 0, what does it mean?
CRIMINAL_LIST
** Criminal age should be dataType TINYINT, not DateTime.
** One field that depicts the Total crime done by one criminal.
** One field that depicts that criminal coming under which police station number.
POLICE_STATION
** In the Police Station table, there should be one column of Contact_Number
** In the Police Station table, there should be one column of Current SuperIncharge
** Try to use auto_increment id for the Police Station Number no need to manually insert the Police Station Number and Change it to Police Station Id.