Skip to content

k0kishima/nuxt3-realworld-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealWorld Example App

Nuxt3 / Tailwind CSS / Pinia(Store) codebase containing real world examples that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with Nuxt3 including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the Nuxt3 community styleguides & best practices.

You might also check out the Backend implementation in Golang(Gin/ent).

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

Getting started

To make it work in the local development environment, clone this repository and execute the following in the project root.

$ npm install
$ npm run dev

Generate TypeScript types from an OpenAPI schema file

You can generate types automatically by bellow command.

$ npm run generate:api

Then openapi.gen.ts generated.

The schema file path is placed openapi.yml. Update the file if you needed before generate types.