How danielnrs/kelolacell works
This repository is a Next.js starter scaffold named for a mobile-phone shop cashier, with navigation and role-permission definitions that suggest POS, repairs, inventory, reporting, and staff features. Those business workflows are not implemented in the sampled app: the home page is still the create-next-app welcome screen. The visible runtime is therefore limited to rendering that page in a shared layout, plus standalone navigation, permission, formatting, type, and Prisma-client utilities. Business capabilities and database behavior beyond these excerpts remain unverified.
Main entry points: page.tsx Welcome page · layout.tsx Root layout · prisma.ts Prisma client
Components 9
Other components
- Visitor
- Welcome page
src/app/page.tsx - Root layout
src/app/layout.tsx - Role navigation
src/lib/navigation.ts - Permission rules
src/lib/permissions.ts - Shared types
src/types/index.ts - Formatting utilities
src/lib/utils.ts - Prisma client
src/lib/prisma.ts - PostgreSQL
Connections 3
- Visitor → Welcome page: opens app
README.md - Root layout → Welcome page: renders
README.md - Prisma client → PostgreSQL: connects to
src/lib/prisma.ts