This is a very simple booking platform built with React, ChakraUI, TypeScript, Vite and Redux RTK Query. It allows users to view a list of salons, filter them by category or search them by name. It also allows users to create bookings for salons.
The project is structured into two main sections: the client and the server.
The client-side of the application is built using Vite, React and TypeScript. This part of the application is responsible for displaying the UI to the users, including the list of salons and the booking interface.
- List of Salons
- List of Categories
- Salon Search
- Salon Category filter
- Salon Bookings
- List of Bookings
- React
- TypeScript
- Chakra UI
- Vite
- Redux RTK Query
The server-side of the application is built using json-server. It provides users, salons, categories and bookings endpoints that are reached from client-side.
- json-server: A fake REST API.
To get a local copy up and running, follow these simple steps:
-
Use node version 18
-
Clone the repository:
git clone https://github.com/urosmeh/booking-platform.git
-
Navigate into the project directory:
cd booking-platform
-
Install dependencies:
- For the client:
cd client
and thennpm install
- For the server:
cd server
and thennpm install
- Run the application:
- Go to root directory and run
npm start
to run client and server. - Start only server:
cd server
and thennpm start
- Start only client:
cd client
and thennpm run dev