Coder Social home page Coder Social logo

kolbysisk / next-supabase-stripe-starter Goto Github PK

View Code? Open in Web Editor NEW
155.0 2.0 26.0 13.95 MB

The highest quality SaaS starter with Next.js, Supabase, Stripe, and shadcn/ui

Home Page: https://next-supabase-stripe-starter-demo-mnqz.vercel.app

License: MIT License

JavaScript 0.47% PLpgSQL 7.22% TypeScript 90.18% CSS 2.13%
nextjs-starter nextjs-template shadcn-ui stripe supabase vercel react-email resend

next-supabase-stripe-starter's Introduction

Hi 👋, I'm Kolby

A passionate software engineer from Arkansas. I like to design & build apps.

kolbysisk

kolbysisk

Connect with me:

kolbysisk @kolbysisk

Fav techs:

  • TypeScript
  • Next.js
  • Tailwindcss
  • Shadcn or Mantine or Chakra
  • Node or Bun
  • CloudFlare
  • Playwright + MSW
  • SST

kolbysisk

next-supabase-stripe-starter's People

Contributors

kolbysisk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

next-supabase-stripe-starter's Issues

Vercel deployment fails

Hi, I just tried to clone and deploy on vercel
I get an error on ./src/features/account/controllers/upsert-user-subscription.ts

Type error: Type 'Status' is not assignable to type '"trialing" | "active" | "canceled" | "incomplete" | "incomplete_expired" | "past_due" | "unpaid" | null | undefined'.

[17:05:35.074] Running build in Washington, D.C., USA (East) – iad1
[17:05:35.204] Cloning github.com/dannylnz/asmr-b (Branch: main, Commit: b9c0b97)
[17:05:35.219] Skipping build cache, deployment was triggered without cache.
[17:05:35.979] Cloning completed: 774.252ms
[17:05:36.270] Running "vercel build"
[17:05:36.709] Vercel CLI 34.1.9
[17:05:37.075] Installing dependencies...
[17:06:04.091] 
[17:06:04.092] added 731 packages in 27s
[17:06:04.092] 
[17:06:04.092] 175 packages are looking for funding
[17:06:04.092]   run `npm fund` for details
[17:06:04.128] Detected Next.js version: 14.0.4
[17:06:04.135] Detected `package-lock.json` generated by npm 7+
[17:06:04.135] Running "npm run build"
[17:06:04.875] 
[17:06:04.875] > [email protected] build
[17:06:04.876] > next build
[17:06:04.876] 
[17:06:05.452] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[17:06:05.453] This information is used to shape Next.js' roadmap and prioritize features.
[17:06:05.454] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[17:06:05.454] https://nextjs.org/telemetry
[17:06:05.454] 
[17:06:05.556]    ▲ Next.js 14.0.4
[17:06:05.557] 
[17:06:05.557]    Creating an optimized production build ...
[17:06:22.396]  ✓ Compiled successfully
[17:06:22.397]    Linting and checking validity of types ...
[17:06:31.446] Failed to compile.
[17:06:31.447] 
[17:06:31.447] ./src/features/account/controllers/upsert-user-subscription.ts:37:5
[17:06:31.448] Type error: Type 'Status' is not assignable to type '"trialing" | "active" | "canceled" | "incomplete" | "incomplete_expired" | "past_due" | "unpaid" | null | undefined'.
[17:06:31.448]   Type '"paused"' is not assignable to type '"trialing" | "active" | "canceled" | "incomplete" | "incomplete_expired" | "past_due" | "unpaid" | null | undefined'.
[17:06:31.448] 
[17:06:31.448] �[0m �[90m 35 |�[39m     user_id�[33m:�[39m userId�[33m,�[39m�[0m
[17:06:31.448] �[0m �[90m 36 |�[39m     metadata�[33m:�[39m subscription�[33m.�[39mmetadata�[33m,�[39m�[0m
[17:06:31.448] �[0m�[31m�[1m>�[22m�[39m�[90m 37 |�[39m     status�[33m:�[39m subscription�[33m.�[39mstatus�[33m,�[39m�[0m
[17:06:31.449] �[0m �[90m    |�[39m     �[31m�[1m^�[22m�[39m�[0m
[17:06:31.449] �[0m �[90m 38 |�[39m     price_id�[33m:�[39m subscription�[33m.�[39mitems�[33m.�[39mdata[�[35m0�[39m]�[33m.�[39mprice�[33m.�[39mid�[33m,�[39m�[0m
[17:06:31.449] �[0m �[90m 39 |�[39m     cancel_at_period_end�[33m:�[39m subscription�[33m.�[39mcancel_at_period_end�[33m,�[39m�[0m
[17:06:31.449] �[0m �[90m 40 |�[39m     cancel_at�[33m:�[39m subscription�[33m.�[39mcancel_at �[33m?�[39m toDateTime(subscription�[33m.�[39mcancel_at)�[33m.�[39mtoISOString() �[33m:�[39m �[36mnull�[39m�[33m,�[39m�[0m
[17:06:31.930] Error: Command "npm run build" exited with 1
[17:06:32.532] 

linking to supabase

I'm super excited about this repo! I'm new to Vercel, Supabase and Resend. On a brand new project, I'm following the instructions for this project through the README and it appears that everything ran successfully and I'm able to run npm run dev

However going to the Pricing Page, visual studio code terminal shows:

Could not find a relationship between 'products' and 'prices' in the schema cache

image

I did notice that at the npm run supabase:link step I get this:
Local config differs from linked project. Try updating supabase\config.toml

Is that my problem? What am I missing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.