See Demo (Currently down due to unregulated API subscription charges)
This is a Next.js project called MyCookBook, which sells recipes of different food categories.
To view the detailed recipes, the user must create an account and purchase them.
Each purchase is different and unique. Regardless of whether the user has already purchased a recipe, the new purchase will still
include the price for that recipe.
User can sign in via Magic Link (verification of email per signin) or OAuth (currently supports Google)
Each checkout session is handled by Stripe and is valid for 30 minutes. The backend is responsible for generating a Stripe
checkout session and the UI redirects the user to that session.
Upon successful payment, a confirmation will be sent to the email of the user (PRODUCTION ONLY)
- Next.js
- Stripe
- Supabase (alternative to Firebase)
- Chakra-UI
- Rapid API for fetching foods
Prereq: Install node v.16 and above
- Clone the repository
- Install all packages with
npm install - Run the project in DEV mode with
npm run dev
- Build the project with
npm run build - Serve production with
npm start



