Giter Site home page Giter Site logo

nextacular / nextacular-ts Goto Github PK

View Code? Open in Web Editor NEW
37.0 2.0 7.0 175 KB

A TypeScript version of the Nextacular project. An open-source starter kit that will help you build full-stack multi-tenant SaaS platforms efficiently and help you focus on developing your core SaaS features. Built on top of popular and modern t…

Home Page: https://nextacular.co

License: MIT License

JavaScript 88.80% TypeScript 11.16% CSS 0.04%
javascript analytics backend email nextjs open-source oss stripe typescript boilerplate-template

nextacular-ts's Introduction

Nextacular🌙

Open Collective backers and sponsors GitHub package.json version GitHub issues GitHub GitHub Repo stars

Quickly launch multi-tenant SaaS applications

Nextacular - Quickly launch multi-tenant SaaS applications

An open-source starter kit that will help you build full-stack multi-tenant SaaS platforms efficiently and help you focus on developing your core SaaS features. Built on top of popular and modern technologies such as Next JS, Tailwind, and Prisma

Features packaged out-of-the-box: Authentication, Billing & Payment, Database, Email, Custom Domains, Multi-tenancy, Workspaces, and Teams

Live Demo

Nextacular Demo: https://demo.nextacular.co

Documentation

Nextacular Documentation: https://docs.nextacular.co

Getting Started

Read the quick start here: https://docs.nextacular.co/getting-started/quick-start

One-Click Deploy to Vercel 🚀

Deploy to Vercel for free!

Deploy with Vercel

You might encounter errors after deployment, so make sure you add the necessary Environment Variables

Read the docs for more details

Outstanding Features

  • 🔐 Authentication
  • 💿 Database Integration + Prisma (SQL/PostgreSQL)
  • 🤝 Teams & Workspaces
  • ☁ Multi-tenancy Approach
  • 📜 Landing Page
  • 💸 Billing & Subscription
  • 📱 Simple Design Components & Mobile-ready
  • 🔍 SEO Support
  • 👾 Developer Experience
  • 💌 Email Handling

Tech Stack

Primary

Dependencies

  • Headless UI - 1.7.7
  • Hero Icons - 2.0.12
  • Date FNS - 2.29.3
  • Express Validator - 6.14.2
  • Micro - 9.4.1
  • Next Themes - 0.2.1
  • Nodemailer - 6.8.0
  • React Copy to Clipboard - 5.1.0
  • React Google Analytics - 3.3.1
  • React Hot Toast - 2.4.0
  • React Top Bar Progress Indicator - 4.1.1
  • Slugify - 1.6.5
  • Stripe - 10.13.0
  • SWR - 1.3.0
  • Validator - 13.7.0

Built With Nextacular

Check out these amazing projects built with Nextacular:

  1. Nextacular Demo by Nextacular
  2. Livebic by Shadrach
  3. Vixion Pro Blogging by Mina
  4. Living Pupil Homeschool Solutions by Living Pupil
  5. MyWS by Ruyi (@monoxruyi/@ruyi12)
  6. Trippr AI by Trippr Tech Inc.
  7. BuzzBonus by Ram (@rapturt9)
  8. MediumFox by CSK (@medfox_73823)

If you have a project built with Nextacular and want to be listed, feel free to reach out to us through our Discord server.

Reviews

Steven Tey - Developer, Vercel It's going to be super helpful for folks to bootstrap their MVPs and get to market faster!

Positive company mission, Easy to use, Cost-effective, Strong feature set

Company Sponsors

Vercel

Powered by Vercel

GitBook - Documentation Sponsor

GitBook

Your company name could be here. If you wish to be listed as a sponsor, reach out to [email protected]

Contributing

Want to support this project?

  1. Consider purchasing from our marketplace (soon)
  2. Subscribe to our newsletter. We send out tips and tools for you to try out while building your SaaS
  3. If you represent company, consider becoming a recurring sponsor for this repository
  4. Submit issues and features. Fork the project. Give it some stars. Join the discussion
  5. Share Nextacular with your network

Read the guidelines for contributing

License

All code in this repository is provided under the MIT License

Supporters – Special Mention 🎉 Thank you!

Show some love and support, and be a backer of our project

Open Collective

Kaur Kirikall (@KaurKirikall), Brian Roach, Cien Lim, Chris Moutsos, Fred Guth (@fredguth), Maxence Rose (@pirmax) Sandeep Kumar (@deepsand), Justin Harr (@DasBeasto), Saket Tawde (@SaketCodes), Corey Kellgren, Adarsh Tadimari, Altamir Meister, Abhi Ksinha

Acknowledgement

🙏 Happy to have the support of early adopters and supporters over at Product Hunt, Gumroad, Github, Twitter, and through personal email. Lots of plans moving forward. Thanks to you guys!

nextacular-ts's People

Contributors

arjayosma 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

Watchers

 avatar  avatar

nextacular-ts's Issues

I can't get the magic link login to work

Describe the bug
i spent a long time trying to log in using the Magic link implementation but nothing seems to work. (I'm using local PostgreSQL DB)
I always get the following error :

[next-auth][error][adapter_error_getUserByEmail] https://next-auth.js.org/errors#adapter_error_getuserbyemail Invalidp.user.findUnique()` invocation in
C:\Users\Zakariae\Desktop\2 WEB DEV\10-NextJs\Reading projects\7 - nextacular-ts\nextacular-ts\node_modules@next-auth\prisma-adapter\dist\index.js:208:43

205 return {
206 createUser: (data) => p.user.create({ data }),
207 getUser: (id) => p.user.findUnique({ where: { id } }),
→ 208 getUserByEmail: (email) => p.user.findUnique(
The table sample does not exist in the current database. {
message: '\n' +
'Invalid p.user.findUnique() invocation in\n' +
'C:\Users\Zakariae\Desktop\2 WEB DEV\10-NextJs\Reading projects\7 - nextacular-ts\nextacular-ts\node_modules\@next-Auth\prisma-adapter\dist\index.js:208:43\n' +
'\n' +
' 205 return {\n' +
' 206 createUser: (data) => p.user.create({ data }),\n' +
' 207 getUser: (id) => p.user.findUnique({ where: { id } }),\n' +
'→ 208 getUserByEmail: (email) => p.user.findUnique(\n' +
'The table sample does not exist in the current database.',
stack: 'PrismaClientKnownRequestError: \n' +
'Invalid p.user.findUnique() invocation in\n' +
'C:\Users\Zakariae\Desktop\2 WEB DEV\10-NextJs\Reading projects\7 - nextacular-ts\nextacular-ts\node_modules\@next-Auth\prisma-adapter\dist\index.js:208:43\n' +
'\n' +
' 205 return {\n' +
' 206 createUser: (data) => p.user.create({ data }),\n' +
' 207 getUser: (id) => p.user.findUnique({ where: { id } }),\n' +
'→ 208 getUserByEmail: (email) => p.user.findUnique(\n' +
'The table sample does not exist in the current database.\n' +
' at vn.handleRequestError (C:\Users\Zakariae\Desktop\2 WEB DEV\10-NextJs\Reading projects\7 - nextacular-ts\nextacular-ts\node_modules\@prisma\client\runtime\library.js:123:6730)\n' +
' at vn.handleAndLogRequestError (C:\Users\Zakariae\Desktop\2 WEB DEV\10-NextJs\Reading projects\7 - nextacular-ts\nextacular-ts\node_modules\@prisma\client\runtime\library.js:123:6119)\n' +
' at vn.request (C:\Users\Zakariae\Desktop\2 WEB DEV\10-NextJs\Reading projects\7 - nextacular-ts\nextacular-ts\node_modules\@prisma\client\runtime\library.js:123:5839)\n' +
' at async l (C:\Users\Zakariae\Desktop\2 WEB DEV\10-NextJs\Reading projects\7 - nextacular-ts\nextacular-ts\node_modules\@prisma\client\runtime\library.js:128:9763)',
name: 'PrismaClientKnownRequestError'
}
error - GetUserByEmailError:
Invalid p.user.findUnique() invocation in
C:\Users\Zakariae\Desktop\2 WEB DEV\10-NextJs\Reading projects\7 - nextacular-ts\nextacular-ts\node_modules@next-auth\prisma-adapter\dist\index.js:208:43

205 return {
206 createUser: (data) => p.user.create({ data }),
207 getUser: (id) => p.user.findUnique({ where: { id } }),
→ 208 getUserByEmail: (email) => p.user.findUnique(
The table sample does not exist in the current database.
`

To Reproduce
Steps to reproduce the behavior:

  1. clone the repo
  2. install dependencies
  3. .env file setup
  4. try to login using your email
  • OS: [Windows]
  • Browser [chrome]

Solutions I tried but with no vain :
1

I updated next-auth, prisma and @prisma/client to their latest versions.
Made sure prisma and @prisma/client are of the same version.
Did yarn prisma db push and yarn prisma generate.

2

removing callbacks and events functions in the nextauth file

3

remove everything in schema.prisma and use the shema provided in the official doc of next-auth

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.