Prerequisites

Guide for adding Auto Crud to an existing application.

Installation steps for these prerequisites are detailed in the following sections.

Once installed, all you need to do is:

  1. Define your model schemas in /server/db/schema.ts.
  2. Run npx nuxi db generate.
  3. That's it! Your CRUD endpoints are ready:
   - POST /api/<resource> -> create
   - GET /api/<resource> -> list
   - GET /api/<resource>/:id -> read
   - PUT /api/<resource>/:id -> update
   - DELETE /api/<resource>/:id -> delete

The following sections explain how to install these prerequisites.