It's advisable to employ a Node version manager that aligns with the .nvmrc or package.json/engines/node configurations, such as nvm, asdf, or n. For instance, the command below from nvm provides step-by-step instructions to install and engage the right Node.js version:
$ nvm useWe use pnpm to manage packages.
$ pnpm installTo run the app locally, execute:
$ pnpm devValid environment variables are required to run the app. Please follow these steps:
- Duplicate and rename the
.env.examplefile to.env - Replace the placeholders in the newly created
.envwith the valid ones
To maintain code quality, we use lint-staged and Husky to run TypeScript type checks against all staged TS files and Prettier formatter against the staged files.