Logo Lanfrica

walonCode/hotel_booking_app

Créateur:
wal
Hôte:
A simple web app that leverage ai to help people to get the best hotel prices in Sierra Leone according to their price range. # Hotel Booking App with AI Recommendation ## Description The Hotel Booking App with AI Recommendation is a full-stack application designed to help users book hotels with AI-driven recommendations. Users can browse hotels, book rooms, and interact with a chatbot for assistance. ## Features - **AI-Driven Recommendations**: Personalized hotel recommendations based on user preferences. - **Booking Management**: Book rooms and manage reservations. - **User Authentication**: Sign up, log in, and profile management. - **Admin Dashboard**: Provide admin functionalities to manage bookings, hotels, and users. - **Responsive Design**: Optimized for both mobile and desktop platforms. ## Installation 1. **Client Application** ```sh cd client pnpm install ``` 2. **Server Application** ```sh cd server npm install ``` ## Usage - **Running the Client** ```sh cd client pnpm dev ``` - **Running the Server** ```sh cd server npm run dev ``` ### Environment Variables Create a `.env` file in the `client` directory with the following variables: ```env NEXT_PUBLIC_API_URL=localhost ``` Create a `.env` file in the `server` directory with the following variables: ```env PORT=5000 ``` ## Technologies - **Frontend**: - Next.js - TypeScript - React - Tailwind CSS - **Backend**: - Node.js - Express.js - TypeScript - **Database**: - MongoDB ## Folder Structure ```plaintext ├── .gitignore ├── client │ ├── .gitignore │ ├── app │ │ ├── [file structure as provided] │ ├── components │ ├── hooks │ ├── lib │ ├── next-env.d.ts │ ├── next.config.mjs │ ├── package.json │ ├── pnpm-lock.yaml │ ├── postcss.config.mjs │ ├── public │ ├── styles │ ├── tailwind.config.ts │ ├── tsconfig.json ├── server │ ├── .env │ ├── .gitignore │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── configs │ │ ├── controllers │ │ ├── helpers │ ├── middleware │ ├── models │ ├── routes │ ├── services …