An open API service indexing awesome lists of open source software.

https://github.com/sinantech/hotelapi-fe


https://github.com/sinantech/hotelapi-fe

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# HotelAPI Frontend (hotelapi-fe)

This is the frontend application for the **Hotel Management System**, built using **React** and styled with **Bootstrap**. The application provides an interface to manage hotel rooms, bookings, and customers efficiently.

---

## Features

- **Room Management**: Add, edit, delete, and view hotel rooms.
- **Booking Management**: Manage and track customer bookings.
- **Customer Management**: Store and manage customer details.
- **User Authentication**: Secure login and registration system.
- **Responsive Design**: Fully responsive UI with Bootstrap.
- **API Integration**: Connects seamlessly with the backend API.

---

## Tech Stack

- **React**: JavaScript library for building UI components.
- **Bootstrap**: CSS framework for responsive and modern design.
- **Axios**: HTTP client for API requests.
- **React Router**: Client-side routing.
- **Vite**: Development build tool for faster builds.

---

## Prerequisites

Before starting, ensure you have the following installed:

- **Node.js** (v18 or later)
- **npm** or **yarn**
- Backend API running at `http://localhost:8080`

---

## Getting Started

### 1. Clone the Repository

```bash
git clone https://github.com/sinantech/hotelapi-fe.git
cd hotelapi-fe
```

### 2.Install Dependencies

```bash
npm install
```

### 3. Configure Environment Variables

```bash
VITE_API_BASE_URL=http://localhost:8080/api
```

### 4. Run the Development Server

```bash
npm run dev
```

## Author

Sinan Can Ozer