In this first article, we will learn how to set up an Android device to create React.js applications.
Step 1 — Termux installation
Termux is an android application that simulates a Linux terminal, allowing us to have some computer functionality on our cell phones. To install, just download it from the playstore or the official termux repository:
https://play.google.com/store/apps/details?id=com.termux
I already wrote two other articles showing how I did the configuration on a Tablet and a Smartphone, if you want to see a step by step of how I did the installation and configuration, the link is here below
Step 2: Installation of Node.js
Node.js is a javascript development environment that is used by several libraries such as react. For what we are going to do, we are going to use the lts version so just run the command below
pkg install nodejs-lts
Step 3: Creating the structure of the Todo App
It’s time to create the React app. This step is the simplest, just run the command below
npx create-react-app todo-app && cd todo-app && npm start
Top comments (0)