Running the App Locally
Swipe to show menu
Before you can see your app, it needs to be started. This chapter covers that one step and what to do if something goes wrong.
What running locally means
When Claude Code runs your project it creates a local server on your computer. This uses your Wi-Fi connection to make the app accessible in your browser at an address like localhost:3000.
This is not live on the internet. If you send that link to someone else they will not be able to open it. It is only for testing on your own machine.
Think of it like a dress rehearsal. The show is not open to the public yet but everything runs as if it were.
The command you need to know
This is the command that starts your app. Claude Code will run it for you. When prompted, click Allow.
npm run dev
If the app does not start first time that is normal. Claude Code will read the error and fix it automatically.
What you should see
When the app loads in your browser for the first time you will see the landing page. You can interact with it and click around. The AI functionality will not work yet because we have not set up the API key. That is what the next chapter covers.
Thanks for your feedback!
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat