GithubHelp home page GithubHelp logo

ml-sketch / next-supa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imbhargav5/nextbase-nextjs-supabase-starter

0.0 0.0 0.0 10.43 MB

๐Ÿš€โšก๏ธ Free Boilerplate and Starter kit for Next.js 13+, Supabase, Tailwind CSS 3.2 and TypeScript. ๐Ÿš€ Next.js ๐Ÿ”ฅ Supabase ๐Ÿ’ป TypeScript ๐Ÿ’š ESLint ๐ŸŽจ Prettier ๐Ÿถ Husky ๐Ÿงน Lint-Staged ๐Ÿงช Jest ๐Ÿงช Testing Library ๐Ÿ•น๏ธ Playwright โœ๏ธ Commitizen ๐Ÿ’ฌ Commitlint ๐Ÿ’ป VSCode ๐ŸŒช๏ธ Vercel ๐ŸŽจ PostCSS ๐Ÿƒ Tailwind CSS โš›๏ธ React Query

Home Page: https://usenextbase.com

License: MIT License

JavaScript 0.07% TypeScript 0.48% CSS 99.45%

next-supa's Introduction

NextBase Starter

NextBase Lite Open Source Free Boilerplate

Nextbase Lite is a simple Next.js 13 + Supabase boilerplate. It includes a Next.js 13 app with Typescript, Supabase and Tailwind CSS. It includes the all new app folder, layout components, React server components and more!

Features

  • ๐Ÿš€ Next.js 13 with async components
  • ๐Ÿ’ป Data fetching examples in React server and client components. Suspenseful data fetching with minimal loading screens.
  • โš›๏ธ React query setup configured
  • ๐Ÿ”ฅ React Hot Toast component
  • ๐Ÿ’ป Fully typed with Typescript. Includes automatic type generation for Supabase tables
  • ๐ŸŽจ Tailwindcss
  • ๐Ÿงช Unit testing and integration testing setups built-in
  • ๐Ÿ’š Eslint, typescript, prettier, postcss configured for dev and test environments
  • ๐Ÿ“ˆ Automatic sitemap generation
  • ๐Ÿ” SEO metadata, JSON-LD and Open Graph tags with NEXT SEO
  • โœ๏ธ Semantic release with Automatic changelog generation
  • ๐ŸŽจ Prettier Code formatter
  • ๐Ÿ’Ž Minimal styling
  • ๐Ÿ“– Codebase which is easy to read and modify

Development

  1. Clone the repo
  2. Install dependencies with yarn
  3. Create a Supabase account if you don't have one already
  4. Create a new project in Supabase
  5. Link Supabase to your project using yarn supabase link --project-ref <project-ref>. You can get your project ref from the Supabase Project dashboard (Project Settings -> API)
  6. Duplicate .env.local.example and rename it to .env.local and add the Project ref, Supabase URL and anon key.
  7. Push the database schema to your Supabase project using yarn supabase db push.
  8. Generate types for your Supabase tables using yarn generate:types:local.
  9. Run yarn dev to start the development server.

Testing

  1. Unit test using yarn test
  2. End-to-end test using yarn test:e2e

Deployment

This is a simple Next.js project. Deployment is the same as any other Next.js project. You can deploy it to Vercel, Netlify, or any other hosting provider.

Contributing

Contributions are welcome. Please open an issue or a PR.

License

MIT

Troubleshooting

Checkout the TROUBLESHOOTING.md file for common issues.

Premium NextBase Boilerplate

Also checkout our premium boilerplate with more features. It includes a fully functional authentication system, user profiles, organisations, row level security, and more.

NextBase Boilerplate

next-supa's People

Contributors

imbhargav5 avatar ovox avatar semantic-release-bot avatar

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.