by devforth
Create Agentic admin panels faster on TypeScript and Vue.js with AdminForth Framework. Setup main CRUD pages within minutes, extend as you need
# Add to your Claude Code skills
git clone https://github.com/devforth/adminforth
Hello world in 5 minutes with AdminForth
Why AdminForth:
npx adminforth create-app and pass your database URL, import the tables you wish to see in admin using npx adminforth resource, and get fully functional UI for your data (filter, create, edit, remove)npx adminforth component (edit data cells, edit fields, add something above the table, inject something to header or sidebar, add custom page with charts or custom components)No comments yet. Be the first to share your thoughts!
mkdir myadmin && cd myadmin
npx adminforth create-app
Custom Dashboard
Text completion plugin (Copilot-style) using LLMs
Image Generation using image generation models
The most convenient way to add new features or fixes is using dev-demo. It imports the source code of the repository and plugins so you can edit them and see changes on the fly.
To run dev demo:
cd dev-demo
pnpm setup-dev-demo
pnpm migrate:all
pnpm start
Open ./migrations folder. There is prisma migration folder for the sqlite, postgres and mysql and clickhouse_migrations folder for the clickhouse:
To make migration add to the .prisma file in folder with database you need and add new tables or columns. Then run:
pnpm makemigration:sqlite -- --name init
and
pnpm migrate:sqlite
to apply migration
use :sqlite, :mysql or :postgres for you case
In order to make migration for the clickhouse, go to the ./migrations/clickhouse_migrations folder and add migration file to the folder.
Then run
pnpm migrate:clickhouse
to apply the migration.
Make sure you have not adminforth globally installed. If you have it, remove it:
pnpm uninstall -g adminforth
Then, in the root of the project, run once:
cd adminforth/adminforth
pnpm build
pnpm link
Then, go to testing app, e.g. created with CLI, and use next command:
npx -g adminforth <your command under development>
This will always run latest version of adminforth package.