About This Project
Divya Jyotish is a comprehensive Hindu astrology platform that evolved from a JSONBin.io prototype into a production-grade PHP & MySQL backend with JWT authentication, device licensing, and a registration queue system. The platform powers both a web application and a desktop application serving astrologers and enthusiasts.
Architecture
Database
7 MySQL tables supporting users, devices, licenses, astrological data, and admin operations with transaction isolation and prepared statements.
REST API
PHP REST API with rate limiting, token-based authentication (user JWT 30-day, admin JWT 4-hour), and comprehensive error handling.
Auth Model
Time-based HH:MM password login with JWT tokens. User tokens valid for 30 days, admin tokens for 4 hours with refresh capability.
Security
Prepared statements for all queries, IP-based rate limiting, transaction isolation levels, device licensing with hardware binding, and session management.
Astrological Modules
20+ modules covering the full spectrum of Hindu astrology:
Hosting & Deployment
The platform is deployed on cPanel shared hosting with a PHP 8.x runtime environment. The setup includes a registration queue system for new users, automated device licensing, secure credential management, and cron-based maintenance tasks.
The admin panel provides full oversight of users, devices, licenses, and system health — all behind time-limited JWT sessions for maximum security.