create-batman
v1.1.0
Published
Fullstack starter generator with normal auth and role-based auth templates
Maintainers
Readme
create-batman
A student-friendly fullstack starter generator for React + Vite + Express + MySQL.
Create a project
npx create-batman my-appThe CLI asks for:
- auth setup: normal auth or role-based auth
- database name
- backend port
- frontend port
- database style for normal auth: Raw MySQL or Sequelize
- theme color
- whether to install dependencies immediately
Templates
Normal auth
Stored in templates/normal-auth.
- Existing Raw MySQL template preserved
- Existing Sequelize template preserved
- Login/signup starter
- Dashboard, pages, templates screen, and user management
Role based auth
Stored in templates/role-based-auth/mysql.
- Public login and signup
- Signup role selection for development:
managerorcustomer - Manager-only dashboard
- Manager templates page
- Customer platform
- Customer Page One, Page Two, and Me profile page
- No account management screen in the manager area
Publish
npm login
npm version patch
npm publish --access public