Skip to content

audioverse-org/audioverse-next

Repository files navigation

audioverse-next

Getting Started

Use nvm to switch to Node version:

nvm install
nvm use

Run the development server:

npm run dev

Open http://localhost:3000 in browser.

Translation

Extract all translatable strings to public/lang/en.json using npm run extract.

Modify and add files in public/lang to translate strings.

Run npm run compile to compile translated strings into machine-readable files in public/compiled-lang.

GraphQL Code Generation

npm run graphql:codegen

Compiles to src/lib/generated/graphql.ts

Eslint

Debugging commands:

DEBUG=eslint:cli-engine npm run lint
TIMING=1 npm run lint