Salable / nextjs-with-salable

Next.js 🀝 Salable Boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Salable Next.js Starter

Hi πŸ‘‹ This project is the simplest way to get started with Salable in a Next.js project. If you want to know more about Salable, check out the following:

The template is provided as a perfect "leap off" point to create your own Next application with Salable. There is basic code in place to integrate the pricing table, accept payment, and authorise based on the user's license capabilities. When the user is licensed (and has the Counter capability) they're able to see a basic <Counter /> component.

What is included?

  • Authentication πŸ”’ provided by Auth.js (formerly NextAuth).
  • [Prisma] ORM (w/ the associated Auth.js adapter).
  • TailwindCSS for styling πŸ’…
  • ESLint.

Getting Started

  1. Clone this repository.
  2. cp .env.example .env.
  3. Fill in the .env file.
  4. Fill in the constants in app/components/PricingTable.tsx.
  5. Build something great.

About

Next.js 🀝 Salable Boilerplate


Languages

Language:TypeScript 86.4%Language:JavaScript 12.5%Language:CSS 1.1%