A production-grade, cloud-deployed Spring Boot application demonstrating full-stack development, DevOps practices, and enterprise-level architecture
Prescripto is a fully-deployed, cloud-ready healthcare management backend that showcases modern software development practices, from code to production deployment. This project demonstrates expertise in Spring Boot development, cloud deployment, DevOps workflows, and production-ready architecture.
- Spring Boot ecosystem mastery with secure, scalable architecture
- RESTful API design with proper HTTP methods and status codes
- JWT Authentication with role-based access control (RBAC)
- Database modeling with JPA/Hibernate and MySQL optimization
- Payment integration with Razorpay API for secure transactions
- Docker containerization for consistent development-to-production environments
- Cloud deployment on Render.com using both Docker and GitHub integration
- Database hosting on Railway with environment-based configuration
- Application monitoring with Spring Boot Actuator and health endpoints
- Service availability management with UptimeRobot monitoring
- Spring Security implementation with JWT filter chains
- Environment-based configuration with secure credential management
- File upload handling with security validations
- CORS configuration for cross-origin security
- Production monitoring with health checks and observability
- β JWT-secured REST APIs for Patients, Doctors, and Admins with role-based access
- β Dockerized Spring Boot application for consistent dev-to-deploy environments
- β Cloud deployment to Render.com using both Docker and GitHub-based methods
- β Cloud database integration with Railway MySQL using environment variables
- β Payment processing with Razorpay API for appointment transactions
- β File management system for image uploads with static file serving
- β
Health monitoring endpoints (
/actuator/health
,/v1/
) for observability - β Production-ready configuration with security and monitoring best practices
Category | Technology | Purpose |
---|---|---|
Backend Framework | Spring Boot 3.5.3 | RESTful API development with enterprise features |
Language | Java 17+ | Modern Java with latest language features |
Database | MySQL 8.0+ (Railway Cloud) | Relational database with cloud hosting |
Security | Spring Security + JWT | Stateless authentication with role-based access |
Payment | Razorpay API | Secure payment processing for healthcare services |
DevOps | Docker + Render.com | Containerization and cloud deployment |
Monitoring | Spring Actuator | Application health and metrics monitoring |
Architecture | MVC + Repository Pattern | Clean, maintainable code structure |
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Controllers β βββΆβ Services β βββΆβ Repositories β
β (REST Layer) β β (Business Logic)β β (Data Access) β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β DTOs β β Utilities β β JPA Entities β
β (Data Transfer) β β (Helpers) β β (Database Maps) β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
- π³ Docker Hub: Container registry for application images
- βοΈ Render.com: Cloud platform for application hosting
- ποΈ Railway: Cloud MySQL database hosting
- π UptimeRobot: Service monitoring to prevent free-tier sleep
- π Environment Variables: Secure credential management
- Docker-based Deployment: Built, tagged, and pushed images to Docker Hub
- GitHub Integration: Direct deployment from repository with auto-builds
- Environment Management: Configured production variables via Render dashboard
- Database Connectivity: Connected Spring Boot to cloud MySQL via environment configs
- β Code β Container β Cloud: Complete development-to-production pipeline
- β Production-Ready Design: Security, monitoring, and role-based access control
- β DevOps Integration: Docker workflows and cloud deployment strategies
- β Real-World Tools: UptimeRobot, Railway, Actuator, and Spring Cloud concepts
- β Stateless Backend Architecture with JWT authentication
- β SecurityFilterChain implementation for fine-grained access control
- β Clean Architecture with Controller β Service β Repository pattern
- β Environment-based Configuration for development, testing, and production
- Java 17+, MySQL 8.0+, Docker (optional)
- Razorpay account for payment testing
- Cloud accounts: Render.com, Railway (for production deployment)
# Clone and navigate to project
git clone https://github.com/karanhimadri/prescripto.git
cd prescripto
# Build and run application
./mvnw clean install
./mvnw spring-boot:run
# Access application
curl http://localhost:8080/v1/ # Health check
# Build Docker image
docker build -t prescripto:latest .
# Run with volume mounting for uploads
docker run -p 8080:8080 -v $(pwd)/uploads:/app/uploads prescripto:latest
# Push to Docker Hub (production workflow)
docker tag prescripto:latest username/prescripto:latest
docker push username/prescripto:latest
- π JWT Authentication: Stateless token-based security
- π‘οΈ Role-Based Access: Patient, Doctor, Admin authorization levels
- π BCrypt Encryption: Secure password hashing
- π CORS Configuration: Cross-origin request security
GET /v1/ # Health check & welcome
POST /v1/panel/login # Admin/Doctor authentication
GET /actuator/health # Application monitoring endpoint
POST /patient/create-account # User registration
POST /patient/login # Patient authentication
GET /patient/me # Profile retrieval
POST /patient/book-appointment # Appointment booking
POST /patient/upload-patient-image # Profile image upload
POST /admin/create-doctor # Doctor onboarding with image upload
GET /admin/dashboard # Administrative overview
POST /api/payment/create-order # Razorpay order creation
POST /api/payment/verify # Payment verification & completion
- π Railway Cloud MySQL: Hosted database with environment-based connectivity
- π Auto-Schema Management: Hibernate DDL auto-updates for seamless deployments
- π Entity Relationships: JPA-mapped associations between core healthcare entities
- π Query Optimization: MySQL 8 dialect with performance tuning
Entity | Purpose | Key Features |
---|---|---|
Admin |
System administration | BCrypt authentication, role management |
Patient/PatientInfo |
User management | Split model for auth vs. profile data |
Doctor |
Healthcare providers | Specialization tracking, image uploads |
Appointment |
Service bookings | Patient-doctor relationships, payment integration |
PaymentInfo |
Transaction records | Razorpay integration, payment verification |
# Production Environment Variables (Render.com)
DATABASE_URL=mysql://railway-cloud-connection
RAZORPAY_KEY_ID=rzp_live_production_key
RAZORPAY_KEY_SECRET=production_secret_key
JWT_SECRET=64-character-production-secret
[email protected]
- β Secure credential management via environment variables
- β Database connection pooling for high-availability
- β File upload security with multipart validation
- β CORS configuration for frontend integration
- β Actuator endpoints for monitoring and health checks
- π― Full-Stack Ownership: End-to-end development from database design to cloud deployment
- ποΈ Architecture Design: Scalable, maintainable code structure following enterprise patterns
- π Security Implementation: Production-grade authentication and authorization systems
- βοΈ DevOps Integration: Modern deployment workflows with containerization
- β Monitoring & Observability: Health checks, metrics, and uptime monitoring
- β Payment Processing: Secure financial transactions with signature verification
- β File Management: Secure upload/download with proper validation
- β Database Optimization: Connection pooling, query optimization, and cloud hosting
"Developed and deployed a cloud-ready Spring Boot healthcare management system demonstrating:
- Backend Development: RESTful APIs with JWT authentication and role-based access control
- Cloud Deployment: Dockerized application deployed to Render.com with Railway database integration
- Payment Integration: Secure Razorpay payment processing with transaction verification
- DevOps Practices: Container workflows, environment management, and production monitoring"
- π Live Application: Deployed on Render.com
- πΎ Docker Image: Available on Docker Hub
- π Monitoring: UptimeRobot health checks configured
- ποΈ Database: Railway cloud MySQL hosting
- Admin Login:
[email protected]
/admin123
- Payment Testing: Razorpay test mode enabled
- Health Check:
/actuator/health
endpoint active
Himadri Karan
Backend Developer & Cloud Solutions Specialist
- π§ Email: [email protected]
- πΌ LinkedIn: linkedin.com/in/himadrikaran
- π Portfolio: Himadri.me
- οΏ½ GitHub: github.com/karanhimadri
This project showcases the complete software development lifecycle that employers value:
- Problem Solving: Built a complex healthcare domain application
- Modern Architecture: Used current industry-standard frameworks and patterns
- Production Deployment: Handled real-world deployment challenges and solutions
- Security Focus: Implemented enterprise-level authentication and data protection
- DevOps Integration: Demonstrated modern development and deployment practices
β Star this repository to see more enterprise-level projects!
π§ Interested in collaboration? Let's connect and build something amazing together.