Ai Coding Tools

How to Use Cursor to Build a Simple App in 30 Minutes

By BTW Team3 min read

Comparing tools? See the AI tools tested on the show.

In short

Step-by-step tutorial on leveraging Cursor, an AI coding tool, to create a basic app within just half an hour, perfect for those looking to enhance their skills quickly.

As indie hackers, we often face the dilemma of balancing speed and functionality when building our apps. We want to ship quickly, but we also need our projects to be robust enough to serve our users. Enter Cursor, the AI coding tool that promises to streamline the app-building process. In this guide, I'll show you how to use Cursor to build a simple app in just 30 minutes. Yes, you read that right—30 minutes.

Prerequisites: What You Need Before You Start

Before diving into the app-building process, ensure you have the following:

  1. Cursor Account: Sign up for a free account at Cursor.
  2. Basic Understanding of JavaScript: While Cursor simplifies coding, a foundational knowledge of JavaScript will help you navigate any issues.
  3. A Computer with Internet Access: You’ll be using Cursor’s online platform.

Step-by-Step Guide to Building Your App

Step 1: Set Up Your Environment (5 minutes)

  • Log in to Cursor: Once you're logged in, you'll see the code editor interface.
  • Create a New Project: Click on “New Project” and name it something relevant (e.g., "MyFirstApp").

Step 2: Define Your App's Functionality (5 minutes)

Decide what your app will do. For this example, let's build a simple to-do list app. You’ll need basic functionalities like adding and removing tasks.

Step 3: Generate Code Using Cursor (10 minutes)

Cursor allows you to write commands in natural language. For instance, type:

  • "Create a simple to-do list app in JavaScript."

Cursor will generate the initial code structure for you. Review the generated code and make any necessary tweaks. Here’s a basic example of what you might see:

let tasks = [];

function addTask(task) {
  tasks.push(task);
}

function removeTask(index) {
  tasks.splice(index, 1);
}

Step 4: Test Your App (5 minutes)

  • Run the App: Use the built-in terminal in Cursor to run your app. You can add tasks using the command line and verify if they appear in your task list.
  • Debugging: If something doesn't work, check the console for errors. Cursor provides suggestions to fix common issues.

Step 5: Deploy Your App (5 minutes)

To share your app with others, you can deploy it using platforms like Vercel or Netlify. Here’s how to do it with Vercel:

  1. Sign up for Vercel: Create a free account at Vercel.
  2. Connect Your Project: Follow the prompts to link your Cursor project repository.
  3. Deploy: Click on "Deploy" and wait for Vercel to complete the deployment.

Troubleshooting: What Could Go Wrong

  • Code Errors: If your app doesn’t run, double-check the generated code for syntax errors.
  • Deployment Issues: Ensure your Vercel account is properly set up and linked to your Git repository.

What's Next: Building on Your Foundation

Now that you have a functioning to-do list app, consider adding additional features:

  • User Authentication: Use Firebase for user management.
  • Persistent Storage: Store tasks using a database like MongoDB.
  • Styling: Enhance the UI with CSS frameworks like Tailwind CSS.

Conclusion: Start Here

Cursor is an excellent tool for indie hackers looking to build applications quickly. It simplifies the coding process while still allowing you to customize your project. If you're ready to build, start by signing up for Cursor and follow the steps outlined above.

What We Actually Use

While we love Cursor for quick prototyping, we also rely on tools like Vercel for deployment and Firebase for backend services. This combination allows us to efficiently manage our projects without getting bogged down in technical details.

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools
Ai Coding Tools

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them)

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them) In the everevolving landscape of AI coding tools, it's easy to get swept up in the hype. As indie hackers and s

Nov 30, 20263 min read
Ai Coding Tools

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026 In 2026, the landscape for indie hackers and solo founders has evolved significantly, especially with the advent

Nov 26, 20264 min read
Ai Coding Tools

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026 If you’re a developer stuck maintaining legacy code, you know the frustration. It’s like navigating a maze blindfolde

Nov 23, 20264 min read
Ai Coding Tools

10 AI Coding Tools That Will Save You Hours of Debugging in 2026

10 AI Coding Tools That Will Save You Hours of Debugging in 2026 Debugging can feel like a neverending cycle of frustration. Whether you're a solo founder or an indie hacker, spend

Nov 18, 20265 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for MVP Development

10 Common Mistakes When Using AI Coding Tools for MVP Development As a founder in 2026, you’re likely aware that AI coding tools can significantly speed up the MVP development proc

Nov 16, 20264 min read
Ai Coding Tools

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026 As a beginner developer, you’ve probably come across a ton of buzz surrounding AI coding tools. But with all the hyp

Nov 12, 20263 min read