Skip to main content

Setup your development

Learn how to develop your app locally.

Prerequisites

Installation and Development

1

Clone the repository

Clone the repository using the following command:
git clone https://github.com/neutrino-io/nno-app-mvp.git
cd nno-app-mvp
2

Install dependencies

Install the project dependencies using pnpm:
pnpm install
3

Setup environment variables

Copy the .env.example file to .env and set the environment variables.To set up your database:
  1. Create a new database in Neon Console
  2. Once created, find your database connection string under “Connection Details”
  3. Copy the connection string to your .dev.vars file:
DATABASE_URL="postgresql://[user]:[password]@[host]/[database]"
Make sure to replace the placeholders with your actual database credentials.
4

Start development server

Run the development server:
pnpm dev
It will start the development server and the admin panel at the same time using Turborepo.
  1. The admin panel is available at http://localhost:5173.
  2. The API is available at http://localhost:8787.