Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/morgbn/nuxt-oa

[BETA] Quickly create API and UI from OpenAPI Specification / JSON schema
https://github.com/morgbn/nuxt-oa

json-schema mongo-db nuxt openapi

Last synced: 27 days ago
JSON representation

[BETA] Quickly create API and UI from OpenAPI Specification / JSON schema

Awesome Lists containing this project

README

        

# Nuxt OA

[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

Utilities to quickly create an API from JSON schemas.
Automatically add Swagger UI route, middleware support, mongodb server, hookables, encrypted properties, timestamps, userstamps, tracked properties and UI components (form [j2u](https://github.com/Morgbn/j2u))

![image](https://user-images.githubusercontent.com/25689856/224268037-a039f545-60df-48a2-9ecc-53ec1695ffb9.png)

### Installation
```sh
yarn add nuxt-oa # npm i nuxt-oa
```

## Documentation
For now see the [playground](./playground) folder.

## Development

- Run `npm run dev:prepare` to generate type stubs.
- Use `npm run dev` to start [playground](./playground) in development mode.

[npm-downloads-src]: https://img.shields.io/npm/dt/nuxt-oa.svg?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/nuxt-oa
[github-actions-ci-src]: https://img.shields.io/github/actions/workflow/status/morgbn/nuxt-oa/ci.yml?style=flat-square
[github-actions-ci-href]: https://github.com/morgbn/nuxt-oa/actions
[license-src]: https://img.shields.io/npm/l/nuxt-oa.svg?style=flat-square
[license-href]: https://npmjs.com/package/nuxt-oa
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?style=flat-square&logo=nuxt.js
[nuxt-href]: https://nuxt.com