replit-core-workflow-a

Featured

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".

AI & Automation 2,249 stars 312 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 Core Workflow A — Full-Stack App ## Overview Build a production-ready web app on Replit: Express or Flask server, PostgreSQL database, Replit Auth for user login, Object Storage for file uploads, and Autoscale deployment. This is the primary money-path workflow for shipping apps on Replit. ## Prerequisites - Replit account (Core plan or higher for deployments) - `.replit` and `replit.nix` configured (see `replit-install-auth`) - PostgreSQL provisioned in the Database pane ## Instructions ### Step 1: Project Structure ``` my-app/ ├── .replit # Run + deployment config ├── replit.nix # System dependencies ├── package.json ├── tsconfig.json ├── src/ │ ├── index.ts # Express entry point │ ├── routes/ │ │ ├── api.ts # API endpoints │ │ ├── auth.ts # Auth routes │ │ └── health.ts # Health check │ ├── services/ │ │ ├── db.ts # PostgreSQL pool │ │ └── storage.ts # Object Storage │ └── middleware/ │ ├── auth.ts # Replit Auth middleware │ └── errors.ts # Error handler └── tests/ ``` ### Step 2: Configuration Files ```toml # .replit entrypoint = "src/index.ts" run = "npx tsx src/index.ts" modules = ["nodejs-20:v8-20230920-bd784b9"] [nix] channel = "stable-24_05" [env] NODE_ENV = "development" [deployment] run = ["sh", "-c", "npx tsx src/index.ts"] build = ["sh", "-c", "npm ci"] deploymentTarget = "autoscale" ``` ```nix # replit.nix { pkgs ...

Details

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

Integrates with

Related Skills