Auto Crud

Auto Crud

Auto Crud is a lightweight CRUD engine that exposes RESTful CRUD endpoints for your data models with just the schemas defined.

The Easiest Way to Integrate Auto Crud into Your Nuxt.js Application

1. Install the Template

npx nuxi init -t gh:clifordpereira/nuxt-auto-crud_template <project-name>

2. Or clone the template repository:

git clone https://github.com/clifordpereira/nuxt-auto-crud_template.git

Navigate to the project directory:

cd nuxt-auto-crud_template

Install dependencies:

bun install

Nb: Remember to change the remote url by

git remote set-url origin <your-repo-url>
git push -u origin main

Migrate Schemas

Define schemas in server/database/schema.ts and run:

bun run db:generate

Start the application

bun run dev

The application will start at http://localhost:3000.

Your RESTful CRUD endpoints will then be ready.

But, if you prefer to add Auto Crud to an existing application, follow next sections: