📢 Anonymous Whistleblowing Platform Using Blockchain
WhistleChain is a secure and anonymous reporting platform designed for journalists, employees, and citizens to report unethical activities. It leverages blockchain for tamper-proof records and ensures data integrity and confidentiality.
- 🔒 Secure Report Submission – Encrypts and stores reports securely.
- 📜 Immutable Record-Keeping – Uses blockchain hashing to ensure report integrity.
- 🛡️ Anonymity & Privacy – Ensures whistleblowers' safety.
- 📦 PostgreSQL Storage – Structured data persistence.
- ⚡ Built with Go & Fiber – High-performance backend.
- Backend: Go, Fiber 🚀
- Database: PostgreSQL
- Blockchain: Cryptographic Hashing
- Cloud Deployment: Heroku / Vercel (Planned)
Method | Endpoint | Description |
---|---|---|
GET | / |
Check if the API is running |
POST | /report |
Submit a new encrypted report |
GET | /reports |
Get all submitted reports |
GET | /report/:id |
Get a specific report by ID |
git clone https://github.com/nbursa/whistlechain-backend.git
cd whistlechain-backend
go mod tidy
Create a .env
file and add:
DATABASE_URL=postgres://your_user:your_password@localhost:5432/your_db
PORT=3000
go run main.go
The API will be available at http://localhost:3000
🚀.
- ✅ Implement cryptographic signatures for authenticity.
- ✅ Add JWT-based authentication for company admins.
- 🚧 Deploy to cloud.
- 🚧 Build a front-end for easy report submission.
- 🚧 Extend blockchain integration.
Want to help improve WhistleChain?
- Fork & Star this repo ⭐
- Open issues & PRs with improvements.
MIT License – Free to use & modify.
👨💻 Nenad Bursać
🚀 GitHub: nbursa
💼 LinkedIn: Nenad Bursać