Quick Guide

This is a Next.js v13 (opens in a new tab) project with App Router

Getting Started

First install a development environment, node v20.11 is required, we recommend install it using nvm & pnpm

nvm installation

pnpm installation

Install project dependencies

Ensure we are using the correct node version:

nvm use

expected output

Found './drone-maps/.nvmrc' with version <20.11.0>
Now using node v20.11.0 (npm v10.2.4)

Install node modules

pnpm install

expected output

Lockfile is up to date, resolution step is skipped
Already up to date
 
> drone-maps@1.2.0 prepare ./drone-maps
> husky install
 
husky - Git hooks installed
Done in 887ms

Prepare local .env File

Create prisma client

pnpm prisma-generate

Start local server

pnpm dev

expected output

> drone-maps@1.2.0 dev ./drone-maps
> next dev
 
   Next.js 13.5.3
  - Local:        http://localhost:3000
  - Environments: .env
 
  Ready in 2.3s

DroneMaps should be running locally

Open http://localhost:3000 (opens in a new tab) with your browser to see the result.

Learn More

To learn more about Next.js, take a look at the following resources: