Logo Lanfrica

Victorralp/naija-stay

Domaine:

digital infrastructure

Type de record:

software
Créateur:
Vic
Hôte:
# NaijaStay - Nigerian Hotel Booking Platform NaijaStay is a modern, responsive hotel booking website for Nigerian hotels and resorts, built with React, Vite, and Firebase. The platform emphasizes local culture, seamless user experience, and reliable payments. ## Features - **Authentication**: Email/password login/signup with Firebase Auth - **Hotel Listings**: Browse hotels with filtering by location, price, and ratings - **Booking System**: Complete booking flow with Paystack/Flutterwave integration - **Admin Dashboard**: Comprehensive admin tools for managing hotels, rooms, bookings, and users - **Media Management**: Cloudinary integration for image and video hosting with automatic optimization - **Responsive Design**: Mobile-first design with TailwindCSS ## Tech Stack - **Frontend**: React + Vite - **Styling**: TailwindCSS - **Backend**: Firebase (Auth, Firestore, Storage) - **Payments**: Paystack/Flutterwave (NGN) - **Media**: Cloudinary for image and video optimization - **Deployment**: Firebase Hosting ## Getting Started ### Prerequisites - Node.js (v14 or higher) - Firebase account - Cloudinary account ### Installation 1. Clone the repository: ```bash git clone cd naija-stay-book ``` 2. Install dependencies: ```bash npm install ``` 3. Set up environment variables: Create a `.env` file in the root directory with your credentials: ``` # Firebase Configuration VITE_FIREBASE_API_KEY=your_firebase_api_key VITE_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain VITE_FIREBASE_PROJECT_ID=your_firebase_project_id VITE_FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket VITE_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id VITE_FIREBASE_APP_ID=your_firebase_app_id VITE_FIREBASE_MEASUREMENT_ID=your_firebase_measurement_id # Cloudinary Configuration VITE_CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name VITE_CLOUDINARY_API_KEY=your_cloudinary_api_key VITE_CLOUDINARY_API_SECRET=your_cloudinary_api_secret ``` 4. Start the development server: ```bas …