Skip to content

devkaransingh1/Bluecred-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlueCred 🌱

A transparent environmental compliance platform that records industrial pollution data, verifies audits, and maintains trusted records using an append-only audit database system.

🚀 Live Demo

https://bluecred-deployed.onrender.com


📌 About The Project

BlueCred is a web-based environmental monitoring platform designed to improve trust and transparency between industries, auditors, and the public.

The platform allows industries to maintain pollution records, auditors to verify compliance reports, and users to view publicly available industry information.

The system uses a cryptographically secured append-only audit record mechanism to preserve historical integrity.


✨ Features

Public Registry

  • View registered industries
  • Search industries by name or ID
  • Filter by category and compliance score
  • View audit reports

Auditor Dashboard

  • Secure auditor login
  • Create and manage audit reports
  • Track industry compliance data

Data Integrity

  • Append-only audit records
  • Cryptographic hashing of records

Backend

  • REST APIs using Flask
  • PostgreSQL database
  • SQLAlchemy ORM
  • Production deployment using Gunicorn

🛠️ Tech Stack

Backend

  • Python
  • Flask
  • Flask-SQLAlchemy
  • PostgreSQL
  • Gunicorn

Frontend

  • HTML5
  • CSS3
  • JavaScript
  • Jinja Templates

Deployment

  • Render Cloud
  • GitHub

📂 Project Structure

bluecred_progress/

│ ├── app/ │ ├── routes/ │ ├── models/ │ ├── templates/ │ ├── static/ │ └── init.py │ ├── run.py ├── requirements.txt ├── Procfile └── README.md


⚙️ Local Setup

Clone repository:

git clone https://github.com/devkaransingh1/Bluecredprogress.git

Enter directory:

cd Bluecredprogress

Create virtual environment:

python -m venv .venv

Activate:

Linux:

source .venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Create environment variables:

DATABASE_URL=your_postgresql_url
SECRET_KEY=your_secret_key

Run application:

python run.py
🔐 Security

BlueCred uses:

Environment-based secret configuration
Database access control
Append-only audit storage
Hash-based record verification
📊 Database

Main database:

PostgreSQL

Important tables:

Industries
Auditors
Audit Reports

Audit reports are designed to preserve historical records by preventing modification of previous entries.

👨‍💻 Author

Dev Karan Singh (Backend, Frontend and Database(postgresql))

Computer Science (AI) Student

GitHub:
https://github.com/devkaransingh1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors