Skip to content

A simple Next.js calendar for tracking habits inspired by "The Seinfeld Strategy"

License

Notifications You must be signed in to change notification settings

scottgallant/seinfeld-calendar

Repository files navigation

A simple Next.js calendar app to track daily habits.

screenshot

The Seinfeld Strategy is used when trying to build a daily habit (for Jerry Seinfeld, that was writing). You just mark a big X on a calendar each day you do your activity. This is a simple Next.js calendar that loops through a JSON file containing dates and descriptions then renders those to the calendar.

Read my full post here.

Getting Started

npm install
npm run dev

Then add dates to src/data/specialDates.js like so:

const specialDates = [
    { "date": "2024-01-03", "description": "Run 3K" },
    { "date": "2024-01-04", "description": "Bike 45mins" },
    { "date": "2024-01-05", "description": "Physio" },
    { "date": "2024-01-07", "description": "Strength Training" },
];

Try it

Deploy with Vercel

About

A simple Next.js calendar for tracking habits inspired by "The Seinfeld Strategy"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published