@aphexcms/aphex-scaffolding
v0.4.1
Published
CLI tool to scaffold Aphex CMS projects
Maintainers
Readme
create-aphex
CLI tool to scaffold Aphex CMS projects.
Usage
Create a new Aphex CMS project interactively:
npx create-aphexOr with pnpm:
pnpm create aphexOr with npm:
npm create aphexWhat it does
The CLI will guide you through:
- Choosing a project name
- Selecting a template (currently only
baseis available) - Scaffolding the project files
- Setting up a basic
.envfile with required environment variables
Templates
Base
A full-featured Aphex CMS application with:
- Authentication (Better Auth)
- Multi-tenancy (Organizations)
- PostgreSQL database with Drizzle ORM
- File storage (S3)
- Email (Resend)
- GraphQL API
After scaffolding
Once your project is created, follow these steps:
cd your-project-name
pnpm install
pnpm db:start # Start PostgreSQL via Docker
pnpm db:migrate # Apply database migrations (includes RLS policies)
pnpm dev # Start development serverDon't forget to update the .env file with your actual credentials!
