asurax
v1.0.5
Published
Create a ready-to-use TypeScript backend starter by command.
Maintainers
Readme
asurax
CLI tool to scaffold a production-ready TypeScript + Express + Prisma backend in seconds.
Usage
npx asurax <project-name> <mongodb|postgresql>Examples
npx asurax my-backend mongodb
npx asurax my-backend postgresql
npx asurax my-backend pg --no-installWhat you get
- Express 5 + TypeScript
- Prisma ORM (MongoDB or PostgreSQL)
- JWT authentication (access + refresh tokens)
- BullMQ + Redis job queues
- AWS S3 + Cloudinary file uploads
- Stripe payment integration
- Nodemailer email support
- Zod validation
- Global error handler
- Docker + docker-compose ready
- GitHub Actions workflow
After scaffolding
cd my-backend
cp .env.example .env
# fill in your DATABASE_URL and other secrets
npm run devOptions
| Flag | Description |
|------|-------------|
| --no-install | Skip npm install after scaffolding |
Publish (for maintainers)
npm login
npm publish --access public