@dhruvp13/promo-code-studio
v0.1.0
Published
Framework-agnostic admin dashboard for managing coupons backed by any `@dhruvp13/promo-code-core` `CouponRepository`.
Maintainers
Readme
@dhruvp13/promo-code-studio
Framework-agnostic admin dashboard for managing coupons backed by any
@dhruvp13/promo-code-core CouponRepository.
Install
bun add @dhruvp13/promo-code-studio @dhruvp13/promo-code-coreUsage
// promo-studio.config.ts
import { defineConfig } from '@dhruvp13/promo-code-studio'
import { repository } from './my-repo'
export default defineConfig({
repository,
categories: ['coin', 'xp'] as const,
port: 4242,
})bunx promo-studio init # scaffold promo-studio.config.ts
bunx promo-studio # start the dashboardThen open http://localhost:4242 to view and manage coupons.
See the root README for the full Studio quickstart and configuration reference.
