- TailwindCSS for styling
- Prisma with PostgreSQL
- Authentication with NextAuth (Credentials Provider)
- Admin Dashboard
- Reservation System with validation (Zod)
- Client-side and server-side form handling
- Custom components: DatePicker, TimePicker, Countdown, etc.
-
Clone the Repo
git clone https://github.com/TheProjectsX/luxora-restaurant cd luxora-restaurant -
Install Dependencies
npm install
-
Setup
.envFileFollow
.env.example -
Push DB Schema
npx prisma db push
-
Run the App
npm run dev
Email: admin@luxora.com
Password: luxora123
Had some issue while building and deploying this project. Couldn't find any solution to the problem even after an hour.
Just took a step back, refreshed my brain, and came back. Started checking from the root commit. Even the root commit had the same issue.
Found out the issue was from prisma. The new version of prisma needs the path where the generated code will stay. But this gave a massive error which try to scan the C:/Users/User/... directory.
Used the classic version. Removed the path, and generated in the node_modules/@prisma/client folder.
Wala! Problem Solved!