A desktop-friendly fullstack pizza delivery website focused on beautiful UI using pure CSS with the ability to order pizzas and track your order, built with Sanity.io and React framework Next.js, using modern global state manager Zustand and Stripe integration for online payments.
Install the following prerequisites:
From the root directory run:
cd sanity-backend
npm install
From the root directory run:
sanity start
- Go to manage.sanity.io
- Click on your project
- Click on the Settings tab
- Click on API on the left
- Click on Create new token
- Copy the token
- Paste it into the required variable inside the .env file
From the root directory run:
cd frontend
npm install
- Go to stripe.com
- Create an account
- Click on Dashboard
- Click on Developers
- Click on API keys
- Click on Reveal test key to reveal your secret key
- Copy the secret key
- Paste it into the required variable inside the .env file
Since you already started sanity, all you need to do is run the frontend:
cd frontend
npm run dev