This project eases the n8n instances deployment using CubePath serivces, centralizing them in a dashboard, ideal for agencies or freelancers with little or zero tech experience that are looking for solutions to deploy n8n instances with a couple of clicks to start automatizing their customers workflows. Users can add clients and launch an n8n instance for their client.
It also offeres an AI chat to build workflows, they can be deployed in any active instance the user has
Due to recent CubePath restrictions, the whole proyect can only deploy one n8n instance at a time
This project was created with Better-T-Stack, a modern TypeScript stack that combines Astro, Self, ORPC, and more.
- TypeScript - For type safety and improved developer experience
- Astro - The web framework for content-driven websites
- TailwindCSS - Utility-first CSS for rapid UI development
- oRPC - End-to-end type-safe APIs with OpenAPI integration
- Drizzle - TypeScript-first ORM
- PostgreSQL - Database engine
- Authentication - Better-Auth
- Husky - Git hooks for code quality
- Oxlint - Oxlint + Oxfmt (linting & formatting)
- Turborepo - Optimized monorepo build system
First, install the dependencies:
bun installThis project uses PostgreSQL with Drizzle ORM.
-
Make sure you have a PostgreSQL database set up.
-
Update your
apps/web/.envfile with your PostgreSQL connection details. -
Apply the schema to your database:
bun run db:pushThen, run the development server:
bun run devOpen http://localhost:4321 in your browser to see the fullstack application.
- Initialize hooks:
bun run prepare - Format and lint fix:
bun run check
my-better-t-app/
├── apps/
│ └── web/ # Fullstack application (Astro)
├── packages/
│ ├── api/ # API layer / business logic
│ ├── auth/ # Authentication configuration & logic
│ └── db/ # Database schema & queries
bun run dev: Start all applications in development modebun run build: Build all applicationsbun run dev:web: Start only the web applicationbun run check-types: Check TypeScript types across all appsbun run db:push: Push schema changes to databasebun run db:generate: Generate database client/typesbun run db:migrate: Run database migrationsbun run db:studio: Open database studio UIbun run check: Run Oxlint and Oxfmt