๐Ÿ“ฆ torresgol10 / movie-club

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/torresgol10/movie-club.git
HTTPS git clone https://github.com/torresgol10/movie-club.git
SSH git clone git@github.com:torresgol10/movie-club.git
CLI gh repo clone torresgol10/movie-club
Loading files...
๐Ÿ“„ README.md

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

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.

Weekly transition cron

Week changes are now cron-driven (not triggered by users entering the app).

  • Endpoint: GET /api/cron/weekly-transition
  • If CRON_SECRET is set, authorize with either:
  • Authorization: Bearer <CRON_SECRET>
  • query param ?secret=<CRON_SECRET>
Recommended: run this endpoint from your scheduler once per day (or weekly, depending on your workflow).

Vercel setup

  • vercel.json includes a weekly cron: 5 0 * * 1 (Mondays at 00:05 UTC)
  • Add environment variable CRON_SECRET in your Vercel project
  • Vercel Cron will call /api/cron/weekly-transition automatically