Criminal Management System

Criminal Records Management System using Codeigniter

  • Register Police
  • Add Criminals
  • Delete Criminals
  • View added Criminals and Police

Table of Contents

About The Project

landing-page

Tech Stack

File Structure

.
application/
├── config                   
│   ├── autoload.php          # remember to modify models if adding any new models, in last line
│   ├── config.php            # Base url and index page
│   ├── routes.php            
│   └── databse.php           # username, hostname, database name
├── controllers 
│   ├── Pages.php             # localhost/(:any)
│   ├── Police.php            # Police class --> login, register, index, logout
│   └── Criminal.php          # Criminal class --> create, delete, index
├── models                    
│   ├── Police_model.php      # Police_model class --> get, register, login
│   └── Criminal_model.php    # Criminal_model class --> get, create, delete
├── views                    
│   ├── templates/            # header, footer
│   ├── pages/                # home, about
│   ├── police/               # register, login, index
│   └── criminal/             # create, index

Getting Started

Prerequisites

  • Download XAMPP from here
  • Download CodeIgniter v3 from here, Extract the zip inside htdocs folder in xampp

Installation

  1. Clone the repo
git clone https://github.com/ganadhish1999/CodeIgniterCriminalManagementSystem.git
  1. Start the XAMPP server (Apache and MySql)
  2. Go to localhost/phpmyadmin and create new database named criminal_management
  3. Run these queries to create tables
  4. Go to localhost/CodeIgniterCrimeManagementSystem/

Results and Demo

Criminals Page Police Page

Registration Page Login Page Add Criminals Page
Registration Login Add Criminals

Contributors

Resources