Ai Coding Tools

How to Use Cursor to Write Your First App in Under 2 Hours

By BTW Team3 min read

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

In short

A step-by-step tutorial on leveraging Cursor to create a simple app within a two-hour timeframe, perfect for novice developers.

If you're an indie hacker or a solo founder, you know the struggle of turning your ideas into actual apps. It often feels like you need to be a coding wizard or spend a fortune outsourcing development. But what if I told you that with Cursor, you can write your first app in under 2 hours—even if you have minimal coding experience? That's the power of AI coding tools in 2026.

In this guide, I’ll walk you through the process of using Cursor to build a simple app. We'll cover prerequisites, step-by-step instructions, and what to expect along the way. Let’s dive in.

Prerequisites

Before you get started, make sure you have the following:

  1. Cursor Account: Sign up for a free account at Cursor.
  2. Basic Idea: Have a simple app idea in mind (e.g., a to-do list app).
  3. Basic Understanding of Code: Familiarity with programming concepts will help, but is not required.

Step-by-Step Guide to Building Your App

Step 1: Set Up Your Workspace

  • Time: 10 minutes
  • What to Do: Once you log into Cursor, create a new project. Choose a template that fits your app idea. For instance, if you're building a to-do list, select a web app template.

Step 2: Define Your App's Features

  • Time: 15 minutes
  • What to Do: Write down the core features you want in your app. For a to-do list app, this could include:
    • Add a task
    • View tasks
    • Delete tasks

Step 3: Use Cursor’s AI to Generate Code

  • Time: 30 minutes
  • What to Do: Use Cursor’s AI assistant to generate the code for each feature. You can ask it to write functions like addTask(), viewTasks(), and deleteTask().
  • Expected Output: Basic JavaScript functions that handle your app's functionality.

Step 4: Test Your App

  • Time: 20 minutes
  • What to Do: Run your app in the built-in simulator. Make sure each feature works as expected. If you encounter issues, use Cursor’s debugging tools to identify problems.
  • What Could Go Wrong: You might face syntax errors or logic issues. Cursor will often suggest fixes, but if you're stuck, check the documentation or ask for help in the community forums.

Step 5: Deploy Your App

  • Time: 15 minutes
  • What to Do: Once everything looks good, use Cursor’s deployment feature to publish your app. You can choose to host it on their platform or export the code to your own server.
  • Expected Output: A live version of your app that anyone can access.

Troubleshooting Common Issues

  • Issue: App doesn't load.
    • Solution: Check your code for missing semicolons or brackets.
  • Issue: Features are not functioning.
    • Solution: Review your function definitions. Cursor can help debug.

What's Next?

Congratulations! You've just built your first app using Cursor. Here are some next steps to consider:

  • Iterate on Your Idea: Gather user feedback and make improvements.
  • Explore More Features: Use Cursor to add advanced functionalities like user authentication or data storage.
  • Learn More: Check out the Cursor documentation for more in-depth tutorials.

Conclusion

Using Cursor, you can take your app idea from concept to reality in just 2 hours. It’s a practical tool that cuts through the noise and helps you focus on building, not coding.

Start here: Sign up for a free Cursor account and begin your journey to app development today.

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