Coder Social home page Coder Social logo

one-aalam / next-starter-kit Goto Github PK

View Code? Open in Web Editor NEW
166.0 9.0 30.0 1.52 MB

Next.js with brilliant bells and useful whistles

License: MIT License

JavaScript 14.46% TypeScript 63.30% CSS 22.23%
nextjs nextjs-starter nextjs-boilerplate nextjs-typescript nextjs-example supabase-js supabase

next-starter-kit's Introduction

Next.js Starter Kit

Boilerplate to quckly get up and running with Next.js with

  • Typescript as the language choice
  • Tailwind CSS for quick styling without getting out of your HTML
  • ESLint for static code analysis
  • Prettier for code formatting
  • SEO pre-configured
  • Icons & SVG support out of the box

and pre-made

  • Message/Alerts `coz who don't uses one?
  • Authentication system with Supabase In the with-supabase branch

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in src/pages/api/hello.ts.

The src/pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

next-starter-kit's People

Contributors

one-aalam 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

next-starter-kit's Issues

Forgot Password

Would be great to see if you could add a Forgot Password option.

Cookie and sessions out of sync

Hello,

This is a wonderful starter kit, exactly the stack I use! Thank you for this, as it has made my life much easier.

I have an issue with the user / auth part in your Supabase branch. It seems that our AuthContext provider gets out of sync with the server. right now, after logging in, we store the user and session in formation use useStore. At the same time, we do the authentication on the server side and for page access lever using getUserByCookie. These two seem to go out of sync after the cookie expires, as I can still access the user information using the sser and session conext, but supabase.auth.api.getUserByCookie returns null.

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.