Skip to content
Feature

Quick Start Templates: Start Coding in Seconds

Discover PocketCode's 15 starter templates: HTML, React, Vue, Python, Node, FastAPI, Django, Next.js, Kotlin, Go, Rust and more, plus two Android app templates, created with a single tap.

Updated:
4 min
By Pelayo Naredo

Quick Start Templates

One of the biggest hurdles when starting a new project is the initial setup. Creating the folder structure, writing the first files, picking a layout… all before writing a single line of logic.

PocketCode solves this with quick start templates.

What are templates?

Templates are pre-built projects that write their starter files for you:

  • Folder structure for the stack you picked
  • Starter files with the base code of that stack
  • Example content so you can see how everything fits together

A template writes the starter files and nothing else: it doesn't install dependencies and it doesn't create a Git repository. All 15 templates are available on every plan, and none of them is Pro.

The 15 templates

Templates are grouped in five categories, and you can filter by category when you create a project.

General

  • Empty — a blank project for those who prefer starting from scratch

Frontend

  • HTML / CSS / JS — a plain website, opened in the built-in DevBrowser
  • React
  • Vue.js
  • TypeScript — runs on the bundled Node.js

Backend

  • Python
  • Node.js (Express)
  • FastAPI
  • Django

Fullstack

  • React + Node.js
  • React + FastAPI
  • Next.js

Languages

  • Kotlin
  • Go
  • Rust

Android app templates (new in 1.1.0)

Version 1.1.0 adds two templates for Android apps written in Kotlin:

  • Android App (Activity)
  • Android App (Compose)

Each one is a standard Gradle project, so it also opens in Android Studio. In PocketCode you can compile it into an APK on your phone with the Build APK button in the editor's toolbar. The first build downloads the Kotlin tools once, about 119 MB, from Google Play. The build guide has the steps and the limits.

What runs on the phone

Not every template runs the same way, so here is the honest version:

  • HTML / CSS / JS opens in the built-in DevBrowser (the globe icon in the editor's top bar). Run only checks the structure, it doesn't render the page.
  • React and Vue.js load React, Vue and Babel from a CDN (unpkg.com), so they need a connection to display.
  • JavaScript and TypeScript run on the bundled Node.js (TypeScript without type checking), Python on a bundled CPython 3.12 interpreter with the standard library only, and Kotlin with the Kotlin tools that Google Play downloads once, about 119 MB, the first time you run a .kt file or build an Android app.
  • Go needs its optional runtime pack, which you download from Settings → Compilers and runtimes. It runs one file with the standard library, not a project with go.mod.
  • Rust gets syntax highlighting, but real Rust (rustc) doesn't run on the device, and the Rhai pack doesn't run a .rs file that has a Cargo.toml nearby, so this template doesn't run on the phone.
  • The framework templates (Express, FastAPI, Django, Next.js, React with a backend) are for writing the code on your phone. npm and pip aren't bundled, so installing their dependencies and starting them needs a server over SSH or a deploy. The Django template also ships without the config/ package that its manage.py points to, so it doesn't start as it is.
  • The sample text inside the starter files (such as "¡Hola Mundo!" or "Mi App") is in Spanish whatever the language of the app.

How to use a template

  1. Open PocketCode and go to Projects
  2. Tap New
  3. Type a name and choose the template (filter by category if you like)
  4. Tap Create

The starter files appear in your project, ready to open in the editor. If the name already exists, PocketCode adds a suffix such as My App (2).

Plans and limits

The free plan includes 1 project in total, and Pro removes the limit. Templates themselves are never locked: Free and Pro can both use all 15.

Templates in the Marketplace

The Marketplace catalog also includes project templates as one of its item types. It's a curated catalog: you install from it, there's no way to publish your own.

Conclusion

Quick start templates remove the friction of starting a new project. Instead of wasting time on setup, you can focus on what matters: your code and your idea. To see what is available today and its limits, read our development status.

Ready to try PocketCode?

Download the app and start coding from your mobile.