Reservation Management for restaurants.
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
Start the development server on http://localhost:3000
:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
Add additional notes about how to deploy this on a live system.
-
Create a project in Vercel by linking it to the GitHub repository of this project.
-
Integrate the project with Supabase, which will automatically generate the necessary environment variables. Ensure you have the following variables:
SUPABASE_JWT_SECRET
RESEND_API_KEY
ADMIN_EMAIL
-
Utilize Prisma to interact with your database. Run the following command to generate Prisma client and create your database schema:
prisma generate
To send emails from the website:
- Create an account on Resend to obtain API keys.
- Add the API keys obtained from Resend to your environment variables.
To ensure your database is set up and your website is built properly on Vercel, use the following deployment command:
prisma generate && nuxt build