Skip to content

Criminal Investigation and Complaint Tracking using Blockchain

Notifications You must be signed in to change notification settings

ask-1710/complaint_reg_v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Criminal Investigation and Complaint Tracking using Blockchain

This project is developed by Aarthi Suresh Kumar and Anirudh TN, final year students of SSN College of Engineering and submitted as their final year project.

The project aims to revolutionalize complaint evidence management and sharing ensuring high levels of security and reliability using blockchain.

It is developed in Internet Computer Blockchain and the canisters/smart contracts are coded in motoko, language developed for building smart contracts in internet computer by Dfinity.

Link referred while working on the project:

Running the project locally

If you want to run the project locally, you can use the following commands:

cd complaint_reg_v2/

# Starts the replica, running in the background
dfx start --background

# Deploys your canisters to the replica and generates your candid interface
dfx deploy

# Start the server for frontend application
npm start

# Start the IPFS local node 
jsipfs daemon

The above commands will deploy and run three backend canisters, one load balancer canister, a frontend canister in port 4943.

It will start a server at http://localhost:8080, proxying API requests to the replica at port 4943.

INSTALLATION GUIDE

Install versions node v18.10.0 and npm v8.19.2

Install dfx 0.12.1 by runnning the following command

DFX_VERSION=0.12.1 sh -ci "$(curl -sSL https://internetcomputer.org/install.sh)"

Install IPFS CLI

npm i --location=global ipfs  // to install cli to spawn local ipfs node 

Run the following two commands

jsipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://127.0.0.1:5002", "http://localhost:3000", "http://127.0.0.1:5001", "https://webui.ipfs.io"]'
jsipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST"]'

To install ipfs-http-client to connect this application to the local IPFS node

**npm i ipfs-http-client** // in the root directory of the project

About

Criminal Investigation and Complaint Tracking using Blockchain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published