This is my final university exam project from Noroff. It's a NextJS application built with TypeScript, Tailwind CSS, and Shadcn. The project is a frontend for a fictional holiday booking website called Holidaze and includes OpenAI chat integration.
- Partial Pre-rendering (PPR) with NextJS 14 (experimental)
- OpenAi chat integration
- Server actions
- User authentication and registration
- Admin dashboard for managing bookings and venues
To get started, clone the repository and install the dependencies:
gh repo clone kyrregjerstad/holidaze
cd holidaze
pnpm installCopy over the .env.example file to a new file called .env and fill in the necessary environment variables.
cp .env.example .envTo start the development server, run the following command:
pnpm devThat's it! The full project is now running on http://localhost:3000/.
To build the project, run:
pnpm buildTo start the production server, run:
pnpm startTo run unit tests, use the following command:
pnpm test:unitTo run end-to-end tests, you first need to build the project and run the preview server, then use the following command:
pnpm test:e2eTo log into the page, you need to register with a @stud.noroff.no email address. This email is not verified, and you can use any email address with this domain as long as it's available.