Skip to content

Rock-n-Prog/nuxt3-template

Repository files navigation

Nuxt 3 Template

Build

Simple Nuxt 3 and Apollo Template about recipes.

Made with love by Fabien Roy.

Check the project board for what I want to do next.

To contribute, make sure you have read the docs and contribution guide.

Setup

Install dependencies

yarn

Create and run database

Local database needs to be running alongside the app.

docker compose up

Available scripts

Start development server

Frontend starts on http://localhost:3000

Server starts on http://localhost:8000, which is an easy-to-use GraphQL Playground.

yarn dev

Build production app

yarn build

Locally preview production build:

yarn preview

Lint app

yarn lint
yarn lint:fix # Fix code style using eslint
yarn lint:staged # Run code style fix on staged files

yarn prettier
yarn prettier:write # Fix code style using prettier