DEV Community

Marcelle Vargas
Marcelle Vargas

Posted on • Originally published at marcellecode.Medium on

Creating a Todo App on an Android Device, using React.js + Termux — Pt-1

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:

GitHub - termux/termux-app: Termux - a terminal emulator application for Android OS extendible by variety of packages.

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

Top comments (0)