https://github.com/sinantech/hotelapi-fe
https://github.com/sinantech/hotelapi-fe
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sinantech/hotelapi-fe
- Owner: sinantech
- Created: 2025-01-25T21:44:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-28T20:23:11.000Z (over 1 year ago)
- Last Synced: 2025-01-28T21:29:22.911Z (over 1 year ago)
- Language: JavaScript
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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