PromoPulse

byGUTTA BHAVANA

You are an expert SaaS product team consisting of: - Product Manager - UI/UX Designer - Frontend Engineer - Backend Engineer - Database Architect - DevOps Engineer - QA Engineer Build a production-ready Micro SaaS. Idea: Competitor promo monitor for SMB brands Requirements: Create: - Beautiful landing page - Dashboard - User authentication - Google Login - Email Login - Stripe subscriptions - Pricing page - Admin dashboard - Database - REST APIs - Responsive design - Dark mode - User settings - Billing page - Analytics - SEO - Error handling - Loading states Generate: - Frontend - Backend - Database schema - APIs - Authentication - Deployment configuration - Environment variables - README - Sample data Use a modern design similar to Linear, Notion or Vercel. Everything should be production-ready.

LandingPricingAnalyticsDashboardAdminDashboardSettingsLogin
Landing

Comments (0)

No comments yet. Be the first!

Architecture

Service Dependenciesv97
External Providers
LLM Gateway
Data Layer
Service Layer (backend/app/services)
API Routers
Backend Entry (port 7011)
activity Depends 401 403
Depends
Depends
Depends
Depends
Depends
subscription checkout cancel Depends
Depends
Depends
Depends
import create_access_token role claim password hashing and get_current_user for profile guard
import
import capability contracts
import
import
import
import
import
import
import
import
import
import summarize_promotions and activity window bounds
import validate_settings_update and normalize_username
import PLAN_CATALOGUE and validate_plan
import PUT plan change notify_subscription_change
import dispatch and category taxonomy
import fetch user notifications and mark read read-all
import fetch system notifications and pending count
import is_configured email_configured
import best-effort email send_notification_email
delegates parsing
week-over-week digest
signed webhook
httpx customer session and subscription mgmt when configured
httpx token and userinfo
httpx GET page
smtplib when configured
httpx POST chat completions when configured
httpx SSE stream unconditional proxy; frontend caller UNROUTED
persistence
cache
completions
activity owner-scoped Event metrics
register login profile update and password-reset confirm read and write User bcrypt hashed_password
read and provision Subscription
read and update User username email email_alerts_enabled 409
read provision and change Subscription plan status DB-only 400
owner-scoped Event query
system-scoped Event query user_id IS NULL
persist in-app Event unread reuse Event model
purge expired Event and canceled Subscription rows
invoke entrypoint
import orchestrator
open session local from database
import data sync scans due competitors
import reminders detect changes
import reminders email opted in owners
import cleanup apply retention policies
persist change alert Event and monitored system Event user id null update last scanned at
owner-scoped Promotion query read-only
seed rows into existing tables
get_password_hash bcrypt for seeded identities
SQLAlchemy ORM
Google OAuth
Stripe Billing API and Webhooks optional key
Competitor Websites
SMTP Email optional
Upstream LLM Provider
Scheduler cron or Kubernetes CronJob
LiteLLM Proxy port 4000
Postgres LiteLLM store
Redis LiteLLM cache
SQLAlchemy Models User Admin Subscription Event Competitor Promotion and RBAC persistence-only Role UserRole RolePermission not wired into any router or service
MariaDB app_db port 3306
google_oauth_service
subscription_service
email_alert_service
promo_scanning_service
promo_extraction_service
promo_change_detection_service
ai_summary_service
retention_service apply retention policies purge expired events and canceled subscriptions consumed by scheduled jobs cleanup
scheduled_jobs_service orchestrator run all jobs dispatches run data sync job run reminders job run cleanup job isolates per job failures scheduled jobs setup
promo_data_service fetch_promotions fetch_promotion count_promotions summarize_promotions owner-scoped read-only fetch.promo.data boundary not wired into any router
business_rules PLAN_CATALOGUE and quotas validate_plan can_add_competitor summarize_promotions clamp_activity_window validate_settings_update normalize_username in-process helper business.rules.implementation not in CONTRACTS
capabilities CONTRACTS describe_capabilities
event_data_service fetch_events fetch_event count_events owner-scoped newest-first
system_event_service fetch_system_events fetch_system_event count_system_events fetch_notifications system-scoped newest-first
notification_service dispatch boundary notify_subscription_change notify_promo_update notify_system_event persists in-app Event plus best-effort email per-user opt-in reuses Event model
stripe_service is_configured create_customer create_checkout_session retrieve and cancel_subscription optional key
sample_data_service create_sample_data idempotent seed for User Admin Subscription Role UserRole RolePermission data.sample.creation standalone primitive not wired into any router
auth router register login and google login and callback plus GET and PATCH profile JWT-guarded and POST password-reset and password-reset confirm signed token rehash
health router
chat router
meta router
webhooks router
analytics router
competitors router
promos router
alerts router
events router fetch.event.data
system_events router fetch.system.events api system events plus notifications and event_id JWT-guarded system-scoped user_id IS NULL
billing router stripe.integration config public plus subscription checkout cancel JWT-guarded 503 config-required when key absent
settings router backend.api.endpoints GET and PATCH api settings JWT-guarded user-scoped uniqueness 409
subscriptions router backend.api.endpoints GET plans and GET current plus PUT change plan JWT-guarded DB-only auto-provisions free plan 400 unknown plan; PUT triggers notify_subscription_change
notifications router notification.system GET api notifications unified feed plus POST id read and read-all JWT-guarded merges user and system Events email_configured
FastAPI main.py include_router
security get_current_user HTTPBearer decode JWT sub and role; create_access_token role claim; bcrypt hashing
scheduled jobs CLI run scheduled jobs entrypoint opens session local dispatches all reminders data sync or cleanup exit code zero ok nonzero on error
React SPA port 7012
Landing design preview
Landing: View Info
Login: Sign In
AdminDashboard: View Overview
AdminDashboard: Manage Users
AdminDashboard: Review Analytics
Analytics: View Reports
Settings: Update Profile
Billing: View Billing
Landing design preview
Landing: View Info
Login: Sign In
AdminDashboard: View Overview
AdminDashboard: Manage Users
AdminDashboard: Review Analytics
Analytics: View Reports
Settings: Update Profile
Billing: View Billing