Build & Deploy a Full-Stack App with Claude Code
Go from an idea to a production full-stack application in 15 minutes. Claude Code scaffolds the code, provisions the infrastructure, and deploys everything to Open Source Cloud β all through natural language.
What You'll Learn
Prerequisites
- Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
- OSC MCP server configured (see Getting Started tutorial)
- An authenticated OSC account
- A GitHub account (for deployment)
Step-by-Step Guide
Set Up Your Project
Create a new project directory and start Claude Code:
mkdir my-task-app && cd my-task-app
claudeTip: If you haven't set up Claude Code with OSC yet, follow our Getting Started tutorial first.
Describe Your Application
Tell Claude Code what you want to build. Be specific about the stack and features:
> Build a task tracker application with:
> - React frontend with a clean UI for creating, editing, and completing tasks
> - Express.js API with CRUD endpoints for tasks
> - PostgreSQL database for persistent storage
> - Include user authentication with email/passwordClaude Code will scaffold the entire project β frontend, backend, and database schema β in your project directory.
Create the Database on OSC
Once the code is scaffolded, ask Claude to provision the database:
> Create a PostgreSQL database on Open Source Cloud for this appClaude uses the OSC MCP tools to create a PostgreSQL instance and automatically configures the connection string in your app's environment variables.
Note: Save the database credentials shown by Claude. You'll need them if you want to connect directly via a database client.
Deploy the Backend API
Deploy your Express API as a custom app on OSC:
> Push the code to GitHub and deploy the backend API to Open Source CloudClaude will create a GitHub repository, push your code, and use the OSC MCP tools to deploy it as a Node.js application. You'll get a live API URL.
Deploy the Frontend
Finally, deploy the React frontend pointing to your live API:
> Deploy the frontend to OSC and connect it to the deployed APIClaude configures the frontend with the correct API URL, deploys it to OSC, and returns your production URL. Your full-stack app is now live!
Tip: Ask Claude to set up a custom domain if you want a branded URL for your app.
Your App is Live!
You've built and deployed a complete full-stack application using only natural language. Your task tracker is running in production with a React frontend, Express API, and PostgreSQL database β all on Open Source Cloud.
Built with This Approach
Streaming Tech TV+
A complete streaming service with 14 OSC services, built in 36 hours by 1 human directing 6 AI agents.
View example βCommunity Examples
CRM systems, game trackers, medication apps β all built with AI agents and deployed on OSC.
Browse examples βWhat Will You Build?
The full OSC service catalog is at your fingertips. Ask Claude Code to build anything β databases, APIs, frontends, pipelines.