Skip to content

KajusC/HotelBookingApp

Repository files navigation

Hotel booking website

Website to book your favorite hotel.

Front-end: React Back-end: .NET Authentication: JWT User management: Identity User Database: Postgres

API made with REST

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

The things you need before installing the software.

  • .NET 8
  • Download node.js (provided code is for windows powershell)
# installs fnm (Fast Node Manager)
winget install Schniz.fnm

# download and install Node.js
fnm use --install-if-missing 20

# verifies the right Node.js version is in the environment
node -v # should print `v20.13.1`

# verifies the right NPM version is in the environment
npm -v # should print `10.5.2`

Installation

A step by step guide that will tell you how to get the development environment up and running.

project clone

$ https://github.com/KajusC/HotelBookingApp.git

Usage

Program will run 2 consoles: API (for swagger UI), VITE

Website is being run on Postgres Database

To enable the database, you have two contexts to update:

EntityFrameworkCore\Update-database -Context HotelDataContext

EntityFrameworkCore\Update-database -Context UserDataContext

VITE console can show some signs of error, it might mean that bootstrap isnt installed with node package manager

npm install bootstrap@v5.3.3

Main page: image

After pressing search: image

Filtering (only location filter works): image

Hotel info card: image

Log in Form: image

Register Form: image

Successfull log in: image

Profile: image

Hotel addition form: image

T.B.A.

feel free to check our other projects!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors