Tracking Records And Criminal Knowledge (TRACK) is a database driven crime management system for managing criminal records, FIRs, investigations, evidence, victims, and officers. The project supports both Oracle XE (SQL) and MongoDB (NoSQL) through a unified web interface.
- Role based access control
- Criminal record management
- FIR and case tracking
- Evidence management
- Victim registry
- Officer management
- Custom SQL and MongoDB query execution
- Oracle XE and MongoDB support
- Node.js
- Express.js
- Oracle XE 21c
- MongoDB
- HTML, CSS, JavaScript
- Docker (optional)
Before running the project, ensure the following are installed:
- Node.js 20+
- Oracle XE 21c
- Oracle Instant Client
- MongoDB 7+ (or Docker)
- npm
npm install express mongodb oracledb corsTRACK/
├── webapp/
├── sql/
├── mongo/
├── setup/
├── Documentation.pdf
├── start.sh
└── README.md
git clone https://github.com/TheHassanBukhari/TRACK.git
cd TRACKcd webapp
npm installRun the scripts in order:
sql/create.txt
sql/tables.txt
sql/data.txt
Create the database and run:
mongo/mongo_create_tables.txt
cd webapp
node server.jsOpen:
http://localhost:3000/login.html
| Role | ID |
|---|---|
| Admin | 1 |
| Admin | 4 |
| Regular Officer | 2 |
| Regular Officer | 3 |
| Regular Officer | 5 |
POST /api/login
GET /api/oracle/stats
GET /api/mongo/stats
GET /api/:db/cases/all
POST /api/:db/cases/create- Mobile application
- Audit logging
- PDF report generation
- Real time notifications
- Advanced search
Course: Database Systems
Institution: COMSATS University Islamabad
Project Type: Semester Project
Developed by Hassan Bukhari and Munnazah Noor.
This project is licensed under the MIT License. See the LICENSE file for details.