replit-hello-world

Featured

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

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 Hello World ## Overview Build a working Replit app that demonstrates core platform services: Express/Flask server, Replit Database (key-value store), Object Storage (file uploads), Auth (user login), and PostgreSQL. Produces a running app you can deploy. ## Prerequisites - Replit App created (template or blank) - `.replit` and `replit.nix` configured (see `replit-install-auth`) - Node.js 18+ or Python 3.10+ ## Instructions ### Step 1: Node.js — Express + Replit Database ```typescript // index.ts import express from 'express'; import Database from '@replit/database'; const app = express(); const db = new Database(); app.use(express.json()); // Health check with Replit env vars app.get('/health', (req, res) => { res.json({ status: 'ok', repl: process.env.REPL_SLUG, owner: process.env.REPL_OWNER, timestamp: new Date().toISOString(), }); }); // Replit Key-Value Database CRUD // Limits: 50 MiB total, 5,000 keys, 1 KB per key, 5 MiB per value app.post('/api/items', async (req, res) => { const { key, value } = req.body; await db.set(key, value); res.json({ stored: key }); }); app.get('/api/items/:key', async (req, res) => { const value = await db.get(req.params.key); if (value === null) return res.status(404).json({ error: 'Not found' }); res.json({ key: req.params.key, value }); }); app.get('/api/items', async (req, res) => { const prefix = (req.query.prefix as string) || ''; const keys = await db.list(prefix); res.json({ keys...

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-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-install-auth

Set up a Replit project with .replit + replit.nix configuration, Secrets, and Replit Auth. Use when creating a new Replit App, configuring Nix packages, managing secrets, or adding user authentication with Replit Auth. Trigger with phrases like "setup replit", "replit auth", "replit nix config", "replit secrets", "configure replit", "new replit project".

2,274 Updated today
jeremylongshore
AI & Automation Featured

replit-architecture-variants

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

2,274 Updated today
jeremylongshore
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-known-pitfalls

Avoid the top Replit anti-patterns: ephemeral filesystem, public secrets, port binding, Nix gotchas, and database limits. Use when reviewing Replit code, onboarding developers, or auditing existing Replit apps for common mistakes. Trigger with phrases like "replit mistakes", "replit anti-patterns", "replit pitfalls", "replit what not to do", "replit code review".

2,274 Updated today
jeremylongshore