Birth Certificate Registration Portal
Birth registration portal with online applications, late-fee tiers, hospital report check, registrar review, QR-verified PDF certificates and public verification. Python, Flask, Bootstrap, SQLite.
- Price: ₹1,999
- Category: Web App
- Technology: Python, Flask, Bootstrap 5, SQLite, Chart.js
- Includes: Source code + database
- Suitable for: BCA / B.Sc CS, MCA / M.Sc CS, B.E / B.Tech CSE & IT
Project overview
This is a full birth registration website that runs on a normal PC. There are three roles and public pages. Parents register with a mobile number, apply for a certificate, pay the late fee (demo payment), see a progress timeline, answer the registrar's questions, cancel, and download the PDF certificate. Hospitals report births of the last 60 days and get a report number (HB-000001); a report can be used by one application only. The registrar works from a review queue (oldest first, overdue after 7 days): the review page shows the application, the fee and delay, and a check against the hospital report; the registrar can approve (a late registration needs a registrar order number), reject with a reason, or raise a query. Certificates are numbered BC-2026-000001 and carry a QR code; the public verification page shows valid or revoked with only the child's name, date of birth, sex and place; certificates can be revoked with a reason. The registrar also has an applications list with search and CSV, a certificates register, hospital management and an insights page (processing time, approval rate, late share, queue age, births per month). Security: hashed passwords, a lock after 5 wrong passwords, CSRF tokens in every form, role checks on every page, a parent sees only own applications, 15-minute idle logout. 21 rule tests (fee tiers and dates worked out by hand) and 148 web checks are included.
Modules
- Login, roles and public pages: Registrar, citizen and hospital roles; hashed passwords; lock after 5 wrong passwords; parent self-registration; public certificate verification.
- Application: Online form with validation; duplicate check; the delay and late fee are worked out from the date of birth; date of birth locked after sending; cancel.
- Fee and payment: Fee tiers (free up to 21 days, Rs. 20, Rs. 100, Rs. 200) in config.py; simulated payment with a receipt number; late registration order number.
- Hospital reports: Hospitals report births (last 60 days) and get a report number; one application per report; reject or cancel frees the report.
- Registrar review: Queue oldest first with an overdue flag; check against the hospital report; approve, reject with a reason or raise a query; the parent answers the query.
- Certificates: Numbered certificate with a QR code (PDF); register with search and CSV; revoke with a reason.
- Public verification: Anybody can type the number or scan the QR: valid or revoked with only name, date of birth, sex and place.
- Timeline and insights: Every application has a status timeline; insights show processing time, approval rate, late share, queue age, births per month and sex ratio.
- Audit log: Every important action (login, application, payment, decision, revoke, hospital added) is written to an audit log.
Requirements
- Python 3.11
- Internet once, to install the libraries (about 2 minutes)
- Windows 10 / 11
How to run this project
- Install Python 3.11 from python.org and tick "Add python.exe to PATH" during setup.
- Extract the zip and open the project folder (STUDENT_GUIDE.md explains every step in simple words).
- Double-click `1_INSTALL.bat` once and wait until it says [OK] (about 2 minutes; it downloads the libraries into a private .venv folder).
- Double-click `2_RUN.bat` to start the project. Your browser opens http://127.0.0.1:5000 by itself. If it does not start, double-click `CHECK_SETUP.bat` and read what it says.
- Log in as registrar admin / admin123 (hospital hosp1 / demo123, parent citizen1 / demo123). 'Verify a certificate' is on the login page.
- Approve the late registration with order number ORD/2026/55 and check the new certificate on the public verification page. Log in as hosp1 to report a birth, then as citizen1 to apply with that report number, pay the late fee on an older birth and download the certificate.