Permit-ready deck blueprints in minutes. Configure → Calculate → Download.
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000GET /api/health— Health checkPOST /api/calculate— Run structural calculations (free)POST /api/checkout— Create Stripe checkout session ($29)POST /api/webhooks/stripe— Stripe payment webhookGET /api/download/{file_id}— Download generated PDFPOST /api/generate-test— Generate PDF without payment (testing only)
- Connect GitHub repo to Railway
- Set root directory to
/backend - Railway will detect the Dockerfile and build automatically
- Add environment variables (see DEPLOY_GUIDE.md)
STRIPE_SECRET_KEY=sk_test_...
STRIPE_PUBLISHABLE_KEY=pk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
SITE_URL=https://simpleblueprints.xyz