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.
- Authentication π provided by Auth.js
(formerly NextAuth).
- By default we have set up the
GithubProvider
but you can use any of the supported providers.- If you need to set up the GitHub OAuth app, read the Creating an OAuth App documentation
- By default we have set up the
- [Prisma] ORM (w/ the associated Auth.js adapter).
- TailwindCSS for styling π
- ESLint.
- Clone this repository.
cp .env.example .env
.- Fill in the
.env
file. - Fill in the constants in
app/components/PricingTable.tsx
. - Build something great.