npx nuxi init -t gh:clifordpereira/nuxt-auto-crud_template <project-name>
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
Define schemas in server/database/schema.ts and run:
bun run db:generate
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: