Relivator
π¬ relivator: next.js 15 react 19 ecommerce template β² better-auth polar shadcn/ui tailwind drizzle orm typescript ts radix, postgres neon, app router saas commerce ecommerce shop pricing payments dark mode full stack free β more stars π more features
Install / Use
/learn @reliverse/RelivatorREADME
π¬ relivator β’ next.js ecommerce starter
demo β sponsor β discord β github β docs
relivator is a robust ecommerce template built with next.js and other modern technologies. it's designed for developers who want a fast, modern, and scalable foundation without reinventing the backend.
stack
- π§± core: nextjs 15.3 + react 19.1 + ts 5.8
- π¨ ui: tailwind 4.1 + shadcn/ui
- π auth: better-auth
- π¬ anims: animejs
- π¦ storage: uploadthing
- π analytics: vercel
- 𧬠db: drizzle-orm (pg) + neon/(π€π)supabase
- ποΈ dx: eslint + biome + knip
- π forms: react-form (π w.i.p) + arktype
- π tables: react-table
- π i18n: next-intl (π w.i.p)
- π email: resend (π w.i.p)
- π³ payments: polar
- π api: orpc (π w.i.p)
these features define the main reliverse stack. for an alternative setupβfeaturing clerk, stripe, trpc, and moreβcheck out versator.
quick start
-
run:
git clone https://github.com/blefnk/relivator.git cd relivator bun install copy .env.example .env -
fill in the required environment variables in the
.envfile. -
optionally, edit the
src/app.tsfile to make the app yours. -
run:
bun db:push # populate db with schema bun dev # start development server bun run build # build production version -
edit something in the code manually or ask ai to help you.
-
done. seriously. you're building now.
commands
| command | description |
|-----------------|--------------------------------|
| bun dev | start local development |
| bun build | create a production build |
| bun latest | install latest deps |
| bun ui | add shadcn components |
| bun db:push | apply db schema changes |
| bun db:auth | update auth-related tables |
| bun db:studio | open visual db editor |
polar integration
relivator now integrates with polar for payment processing and subscription management.
features
- checkout flow for subscription purchases
- customer portal for managing subscriptions
- webhook handling for subscription events
- automatic customer creation on signup
- integration with better-auth for seamless authentication
setup instructions
- create an account on polar
- create an organization and get an organization access token
- configure your environment variables in
.env:POLAR_ACCESS_TOKEN="your_access_token" POLAR_WEBHOOK_SECRET="your_webhook_secret" POLAR_ENVIRONMENT="production" # or "sandbox" for testing - create products in the polar dashboard
- update the product IDs in
src/lib/auth.tsto match your polar products:checkout: { enabled: true, products: [ { productId: "your-product-id", // Replace with actual product ID from Polar Dashboard slug: "pro" // Custom slug for easy reference in Checkout URL } ] } - run
bun db:pushto create the necessary database tables - start the application with
bun dev
verification
to verify that the integration is working:
- sign up for an account
- navigate to the dashboard billing page (
/dashboard/billing) - try subscribing to a plan
- check that your subscription appears in the billing dashboard
- test the customer portal by clicking "manage subscription"
api routes
the following api routes are available for payment processing:
/api/payments/customer-state- get the current customer state/api/payments/subscriptions- get user subscriptions
notes
- relivator 1.4.0+ is ai-ready β optimized for ai-powered ides like cursor, making onboarding effortless even for beginners.
- version 1.3.0 evolved into versator, featuring clerk authentication and stripe payments. explore versator demo, repo, or docs.
stand with ukraine
- π help fund drones, medkits, and victory.
- π every dollar helps stop russia's war crimes and saves lives.
- βΌοΈ please, donate now, it matters.
stand with reliverse
- β star the repo to help the reliverse community grow.
- π follow this project's author, nazar kornienko and his reliverse ecosystem, to get updates about new projects faster.
- π¦ become a sponsor and power the next wave of tools that just feel right.
every bit of support helps keep the dream alive: dev tools that don't suck.
license
mit Β© 2025 nazar kornienko (blefnk), reliverse
Related Skills
node-connect
334.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
334.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.2kCommit, push, and open a PR
