Skip to content

A Spring Boot + PostgreSQL backend for consent lifecycle management aligned with India’s DPDP Act 2023, featuring RBAC, session-based auth, and modular architecture.

Notifications You must be signed in to change notification settings

DhirajKarangale/ConsentManagement_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Consent Management Backend

A robust and scalable backend for a Consent Management System built with Java Spring Boot and PostgreSQL, aligned with the Digital Personal Data Protection (DPDP) Act, 2023 of India.


📌 About

This backend handles core functionalities such as user registration, login, consent lifecycle management (create, approve, revoke), and audit tracking. It is designed with a modular, layered architecture following industry best practices to ensure scalability, maintainability, and data integrity.

🔑 Key Features

  • 🔐 Role-Based Access Control (RBAC) for:

    • User
    • Company
    • Consent Manager
    • Government
  • 🔒 Session-based authentication using Spring Security

  • 🧩 RESTful APIs for all core operations

  • 🗃️ Clean layered architecture (Controller, Service, Repository)

  • ✅ Input validation with JPA and transactional consistency

  • 🚀 Optimized queries and error handling for performance


⚙️ Tech Stack

  • Backend: Java, Spring Boot
  • Database: PostgreSQL
  • ORM: Spring Data JPA (Hibernate)
  • Security: Spring Security (Session-based)
  • Build Tool: Maven
  • API Testing: Postman

🚀 Getting Started

Prerequisites

  • Java 17+
  • Maven
  • PostgreSQL

Setup Instructions

  1. Clone the repository
    git clone https://github.com/your-username/consent-management-backend.git
    cd consent-management-backend

About

A Spring Boot + PostgreSQL backend for consent lifecycle management aligned with India’s DPDP Act 2023, featuring RBAC, session-based auth, and modular architecture.

Topics

Resources

Stars

Watchers

Forks

Languages