replit-architecture-variants

Featured

Choose and implement Replit architecture blueprints: single-file script, modular app, and multi-service. Use when designing new Replit apps, choosing the right architecture scale, or planning migration paths as your app grows. Trigger with phrases like "replit architecture options", "replit blueprint", "how to structure replit app", "replit monolith vs service", "replit app scale".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Replit Architecture Variants ## Overview Application architectures on Replit at three scales: single-file prototype, modular production app, and multi-service architecture. Each matches Replit's container model, built-in services, and deployment types. ## Prerequisites - Replit account - Understanding of deployment types (Static, Autoscale, Reserved VM) - Familiarity with Replit's storage options ## Architecture Decision Matrix | Factor | Single-File | Modular App | Multi-Service | |--------|------------|-------------|---------------| | **Users** | Prototype, < 100/day | 100-10K/day | 10K+/day | | **Database** | Replit KV (50 MiB) | PostgreSQL | PostgreSQL + cache | | **Storage** | Local + KV | Object Storage | Object Storage + CDN | | **Persistence** | Ephemeral OK | Durable required | Durable required | | **Deployment** | Repl Run / Autoscale | Autoscale / Reserved VM | Multiple Reserved VMs | | **Cost** | Free-$7/mo | $7-25/mo | $25+/mo | | **Always-on** | No (free), Yes (deploy) | Yes (deployment) | Yes (deployment) | ## Instructions ### Variant A: Single-File Script (Prototype) **Best for:** Bots, scripts, learning, hackathon projects. ```python # main.py — everything in one file from flask import Flask, request, jsonify from replit import db import os app = Flask(__name__) # KV Database for simple state @app.route('/') def home(): count = db.get("visits") or 0 db["visits"] = count + 1 return f"Visit #{count + 1}" @app.route('/api/notes', methods=...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

replit-reference-architecture

Implement Replit reference architecture with best-practice project layout, data layer, and deployment. Use when designing new Replit apps, reviewing project structure, or establishing architecture standards for production Replit applications. Trigger with phrases like "replit architecture", "replit best practices", "replit project structure", "how to organize replit", "replit production layout".

2,274 Updated today
jeremylongshore
AI & Automation Featured

replit-hello-world

Create a minimal working Replit app with database, object storage, and auth. Use when starting a new Replit project, testing your setup, or learning Replit's built-in services (DB, Auth, Object Storage). Trigger with phrases like "replit hello world", "replit starter", "replit quick start", "first replit app", "replit example".

2,274 Updated today
jeremylongshore
AI & Automation Featured

replit-core-workflow-a

Build a full-stack web app on Replit with Express/Flask, PostgreSQL, Auth, and deployment. Use when creating a new production app on Replit from scratch, building the primary user-facing workflow, or following Replit best practices. Trigger with phrases like "build replit app", "replit full stack", "replit web app", "create replit project", "replit express flask".

2,274 Updated today
jeremylongshore
AI & Automation Featured

replit-deploy-integration

Deploy Replit apps with Autoscale, Reserved VM, and Static deployment types. Use when deploying to production, configuring deployment settings, setting up custom domains, or managing deployment secrets and health checks. Trigger with phrases like "deploy replit", "replit deployment", "replit autoscale", "replit reserved VM", "replit static deploy", "replit custom domain".

2,274 Updated today
jeremylongshore
AI & Automation Featured

replit-sdk-patterns

Apply production-ready patterns for Replit Database, Object Storage, and Auth APIs. Use when implementing Replit integrations, structuring data access layers, or establishing team coding standards for Replit services. Trigger with phrases like "replit patterns", "replit best practices", "replit code patterns", "idiomatic replit", "replit SDK".

2,274 Updated today
jeremylongshore