Skip to content

An Intermittent Fasting Tracker app that allows users to track their fasts, built with TypeScript, Next.js, TailwindCSS, shadcn/ui, Supabase.

Notifications You must be signed in to change notification settings

turhansel/fasting-24

Repository files navigation

fasting-24

fasting-ss

Features · Demo · Clone and run locally · Feedback and issues


Features

-   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!

Demo

You can view a fully working demo at DEMO.

Clone and run locally

  1. You'll first need a Supabase project which can be made via the Supabase dashboard

  2. Clone project

git clone https://github.com/turhansel/fasting-24
  1. Copy the .env.local.example file in this directory to .env.local (which will be ignored by Git):
cp .env.local.example .env.local
  1. 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

  1. 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

Check out the docs for Local Development to also run Supabase locally.

Feedback and issues

Please file feedback and issues over on the fasting-24.

About

An Intermittent Fasting Tracker app that allows users to track their fasts, built with TypeScript, Next.js, TailwindCSS, shadcn/ui, Supabase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published