Layerwyse is a pricing and business management toolkit for 3D-printing creators.
It helps makers calculate accurate costs, track projects, understand profitability, and eventually send invoices — turning a 3D-printing hobby into a sustainable business.
This project is built on top of the Next.js SaaS Starter, providing:
- Authentication
- Protected dashboard
- Postgres + Drizzle ORM
- User/team management
- Middleware-protected routes
- A scalable structure for SaaS apps
Layerwyse customizes this foundation into a full toolset for 3D-printing businesses.
- 3D print cost calculator
- Materials (resin/filament)
- Machine usage & wear
- Labor (sanding, painting, post-processing)
- Electricity cost
- Failure rate & retries
- Job & project tracking
- Status, effort (hours), worker cost, added value
- Profit estimation
- Notes & failure logs
- Partner/freelancer payout logic
- Bulk order pricing models
- Calculation history
- (Future) Itemized invoicing
- (Future) Payment tracking (paid/partial/unpaid)
- (Future) Instalment-based billing
- (Future) STL/3MF volume extraction
- Email/password authentication
- JWT cookies stored securely
- Dashboard with CRUD for users/teams
- Basic RBAC: Owner / Member roles
- Global middleware for protected routes
- Zod validation middleware for Server Actions
- Activity logging system
- Prebuilt dashboard layout and components
- Framework: Next.js
- Database: Postgres
- ORM: Drizzle
- UI Library: shadcn/ui
- Styling: Tailwind CSS
- Runtime: Bun
Clone the repository and install dependencies:
git clone <your-repo-url>
cd <project-folder>
bun installbun db:setupThis generates your environment variables (including database URL).
bun db:migrate
bun db:seedThis creates a default development user:
- Email: [email protected]
- Password: admin123
You may also create users via /sign-up.
bun devThen open:
- Push your code to GitHub
- Import the repo in Vercel
- Deploy using the guided setup
BASE_URL=https://your-domain.com
DATABASE_URL=<your-production-database-url>
AUTH_SECRET=<32-byte-random-string>
Layerwyse is a private, in-development project.
All code, designs, and assets are proprietary.