Node 16+ (node -v
)
pnpm 8.x+ (pnpm -v
)
This repo uses pnpm workspaces. When installing dependencies, running pnpm install
from
any directory listed as a package in the workspace will install all dependencies across all packages (e.g. ./
, ./src
, etc).
Read more about this in 0. Getting Started > 2. Tooling;
First, ensure you're within the /src
directory:
cd src
Create a .env
file by copying the .env.dist
file, then edit this with your own values, or get them from another developer:
cp .env.dist .env
And lastly ensure you've installed the node modules using pnpm
:
pnpm install
This will install dependencies in all directories listed as packages in
pnpm-workspace.yaml
.
The app has two build modes: development and production.
Start the dev server for watching and hot module reloading:
pnpm dev -o
# The -o flag opens a new browser window automatically. Remove if you already have a window open
Or build for production and run the production server:
pnpm build
pnpm start
Now that you're up and running, you are ready to start building more of this application.
Or learn more about what's included in this starter repo:
- Learn about the application concepts
- Learn about the application features
- Learn about the directory structure