Skip to content

Repository files navigation

Nuxt api demo

  • api docs
  • drizzle using db0(sqlite example)
  • zod validation
  • nuxt auth utils
  • nuxt-ui

This project is based on the work of [atidone] (https://github.com/atinux/atidone/tree/main) changes:

  • removed NuxtHub
  • add login/register using password instead of github
  • add todo and simplify the code for new learners (it was hard to understand the code for new learners and learn all concepts in one place)
  • try fix the bug because of change done to simplify the code

Look at the Nuxt documentation to learn more.

Setup

Make sure to install dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages