💊 Nice, you’ve taken the red pill!
Before we start, there are a few things you need to get ready for building your Mini Apps:
- NodeJS installed on your computer. If you don’t have it, you can download it from nodejs.org .
- A code editor. We recommend using Visual Studio Code .
- A terminal. The one that comes with your OS is fine, if you prefer get a new one, Hyper Term is a great option.
- To have World App installed on your phone. Available in the App Store and Google Play .
- Tea or coffee to keep you energized during the process ☕️
- Willingness to learn, experiment, and have fun! 🎉
🛠️ Setting up the development environment
Let’s start by creating a new project from a template. This will give us a good starting point with all the necessary files and configurations.
Open your terminal and run the following command:
npx create-world-app my-app
The command gives you a prompt to select a template. You can choose the recommended one (Next 14).
➜ npx create-world-app my-app
┌ Let's create your mini app
│
◆ Select a template
│ ● Next 14 (recommended)
│ ○ Next 15
└
The process will take a few minutes to complete. Once it’s done, you will have a new folder called my-app
. We need to open this folder in our code editor to start working on our Mini App.
There are many ways to do it, here are a few options:
- VsCode Command: In the current terminal, run the command
code my-app
- App Command: In the terminal, run the command
open -a "Visual Studio Code" my-app
- Drag and Drop Method: Open your code editor and drag the
my-app
folder into it
And that’s it! You are now ready to build the dopest Mini App ever! 🎉
Last updated on