This project uses node 18.
There are 3 steps to run the project, after clonning it:
This project uses a database for persistence. The database is hosted and the connection string needs to be added for connection.
To install dependencies, run
npm install
To start the app, run:
npm run dev
Open http://localhost:3000 with your browser access it.
For this project, here are the main dependencies used:
- react-hook-form for ease of implementing the forms and allowing for form to be separated into specific components.
- Zod for form validation.
- Tailwind.
- Shadcnui (component library) for the basic components used.
- Prisma as ORM to access a Postgres database
For persistence of created bookings, I used a simple database schema to log:
- Customer info
- Booking info
- Booking status