From Zero to Hero

This is the beginning of your journey. You have ventured into a new coding experience that will change the way you think about cross-platform development. But don’t take our word for it just try it for yourself. Create your first app by following the steps below.

Requirements

Now that we are ready, let’s begin!

Open your terminal window and navigate to the folder that will contain your app. Once there type the command below:

npx @onejs-dev/create-app

It will request the following data:

This command creates a folder with your app’s name containing a template project. It also installs all the dependencies required; please beware this process may take a few minutes. Once the command has successfully ended its execution, navigate to the newly created directory and run the start command to serve your app.

npm start

If everything went right, you will be welcomed by a screen like the one below:

And voilà! You have officially become part of the oneJS community. You are ready to open the App.js file inside your text editor and explore the insides. Go now and visit the learn page to turn this template into something extraordinary. Are you excited?