GithubHelp home page GithubHelp logo

holidaze's Introduction

Holidaze

Live Deployment

Overview

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.

Stack

Next JS TypeScript Zod Tailwind CSS PNPM Vercel OpenAI

Features

  • Partial Pre-rendering (PPR) with NextJS 14 (experimental)
  • OpenAi chat integration
  • Server actions
  • User authentication and registration
  • Admin dashboard for managing bookings and venues

Getting Started

Prerequisites

Installation

To get started, clone the repository and install the dependencies:

gh repo clone kyrregjerstad/holidaze
cd holidaze
pnpm install

Copy over the .env.example file to a new file called .env and fill in the necessary environment variables.

cp .env.example .env

To start the development server, run the following command:

pnpm dev

That's it! The full project is now running on http://localhost:3000/.

To build the project, run:

pnpm build

To start the production server, run:

pnpm start

Testing

To run unit tests, use the following command:

pnpm test:unit

To run end-to-end tests, you first need to build the project and run the preview server, then use the following command:

pnpm test:e2e

To 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.

holidaze's People

Contributors

kyrregjerstad avatar

Watchers

 avatar

holidaze's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.