Features · Demo · Clone and run locally · Feedback and issues
- Works across the entire [Next.js](https://nextjs.org) stack
- App Router
- Middleware
- Client
- Server
- Supabase
- Redux, Redux Toolkit, Redux Toolkit Query
- Styling with [Tailwind CSS](https://tailwindcss.com)
- UI components [shadcn/ui](https://ui.shadcn.com/)
- supabase-ssr. A package to configure Supabase Auth to use cookies
- It just works!
You can view a fully working demo at DEMO.
-
You'll first need a Supabase project which can be made via the Supabase dashboard
-
Clone project
git clone https://github.com/turhansel/fasting-24
- Copy the
.env.local.example
file in this directory to.env.local
(which will be ignored by Git):
cp .env.local.example .env.local
- Then set each variable on
.env.local
:
NEXT_PUBLIC_SUPABASE_URL=[INSERT SUPABASE PROJECT URL]
NEXT_PUBLIC_SUPABASE_ANON_KEY=[INSERT SUPABASE PROJECT API ANON KEY]
NEXT_PUBLIC_SITE_URL=http://localhost:3000
Both NEXT_PUBLIC_SUPABASE_URL
and NEXT_PUBLIC_SUPABASE_ANON_KEY
can be found in your Supabase project's API settings
- You can now run the Next.js local development server:
bun install
bun dev
# or
npm install
npm run dev
# or
pnpm install
pnpm dev
# or
yarn install
yarn dev
- Open http://localhost:3000 with your browser to see the result.
Check out the docs for Local Development to also run Supabase locally.
Please file feedback and issues over on the fasting-24.