@websideproject/nuxt-auto-api
v0.0.3
Published
Schema-driven API generation from Drizzle schema with auth and authz
Readme
Nuxt Auto
@websideproject/nuxt-auto-api
@websideproject/nuxt-auto-admin
Schema-driven fullstack Nuxt with a reusable admin. Generate APIs and admin panels from your Drizzle schema with built-in authentication and authorization.
📦 Modules
This monorepo contains two complementary Nuxt modules:
@websideproject/nuxt-auto-api
Schema-driven API generation from Drizzle schema with auth and authz.
@websideproject/nuxt-auto-admin
Auto-generated admin panel from Drizzle schema.
✨ Features
- 🎯 Schema-Driven - Generate API endpoints and admin UI from your Drizzle schema
- 🔐 Auth & AuthZ Built-in - Authentication and authorization out of the box
- 📦 Reusable Admin Panel - Auto-generated admin interface based on your schema
- 🚀 Type-Safe - Full TypeScript support with type inference from your schema
🚀 Installation
Install the modules you need:
# Install API module
npx nuxt module add @websideproject/nuxt-auto-api
# Install Admin module
npx nuxt module add @websideproject/nuxt-auto-admin
# Or both
npx nuxt module add @websideproject/nuxt-auto-api @websideproject/nuxt-auto-adminOr install manually:
# npm
npm install -D @websideproject/nuxt-auto-api @websideproject/nuxt-auto-admin
# yarn
yarn add -D @websideproject/nuxt-auto-api @websideproject/nuxt-auto-admin
# pnpm
pnpm add -D @websideproject/nuxt-auto-api @websideproject/nuxt-auto-admin
# bun
bun add -D @websideproject/nuxt-auto-api @websideproject/nuxt-auto-admin📖 Documentation
🤝 Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
# Install dependencies
pnpm install
# Generate type stubs
pnpm run dev:prepare
# Start the playground
pnpm run dev
# Run tests
pnpm run test❓ Questions & Support
- Issues: Open an issue for bugs or feature requests
- Discussions: Join the discussion for questions and ideas
📄 License
Published under the MIT license.
