Create Nillion App
A CLI tool to create a new Nillion app with Next.js integration.
Usage
This will create a new Nillion app in the your desired directory.
npx @nillion/create-nillion-app
What it does
- Installs
nilup, the Nillion SDK tool installer and version manager
- Clones an example Next.js project with App Router Settings
a. Installs
@nillion/client-react-hooks * @nillion/client-vms which has all your needs to use Nillion and Nada.
- Installs an Nada projects with a pyenv
- Then follow along the QuickStart guide to do the following:
- Create a simple Nada App
- Connect a Nextjs <> Nada Program
Directory tree should look like:
.
βββ README.md
βββ app
β βββ components
β βββ home
β βββ layout.tsx
β βββ lib
β βββ page.tsx
βββ nada
β βββ .venv
β βββ nada-project.toml
β βββ requirements.txt
β βββ src
β βββ tests
βββ next.config.mjs
βββ node_modules
βββ package-lock.json
βββ package.json
βββ tsconfig.json
Requirements
- Node.js 18.0.0 or later
- npm 6.0.0 or later
License
MIT