Skip to content

BoominSquare

An all-in-one next-generation platform for eCommerce, travel, and utility services. BoominSquare seamlessly integrates a comprehensive store marketplace, flight and hotel reservations, and everyday utility payments into a single, intuitive web experience.

πŸš€ Features

  • πŸ›« Travel & Tourism
    • Flights: Search and book flights globally with live pricing, dynamic loading animations, and robust local fallback mechanisms for airport autocompletion.
    • Hotels: Browse and reserve accommodations easily.
    • Tours & Transfers: Explore local activities and book reliable airport or city transfers.
  • πŸ›οΈ eCommerce Marketplace
    • Store: Full-featured online store for buyers across various categories.
    • Track Order: Real-time order tracking functionalities.
    • Sellers Hub: Dedicated "Sell on BoominSquare" landing page for seamless vendor onboarding.
  • ⚑ Utilities & Services
    • Bills & Airtime: Pay bills and purchase airtime securely (Powered by the Reloadly API).
  • πŸ”’ Security & Auth
    • Secure account registration with an OTP-based flow and comprehensive error handling.

πŸ’» Tech Stack

πŸ“‚ Project Structure

boominsquare/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/           # Next.js App Router pages (flights, hotels, store, sellers, etc.)
β”‚   β”œβ”€β”€ components/    # Reusable React components (FlightLoader, UI elements)
β”‚   β”œβ”€β”€ config/        # Application configurations
β”‚   β”œβ”€β”€ data/          # Static data and constants
β”‚   β”œβ”€β”€ lib/           # Utility functions and library setups
β”‚   β”œβ”€β”€ services/      # External API wrappers (e.g., Reloadly, FlightAPI)
β”‚   └── types/         # TypeScript type definitions
β”œβ”€β”€ prisma/            # Database schema and migrations
β”œβ”€β”€ public/            # Static assets (images, icons)

βš™οΈ Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm, yarn, or pnpm
  • A relational database accessible for Prisma

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/boominsquare.git
    cd boominsquare
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env or .env.local file in the root directory and add your keys based on the existing configurations. Example:

    DATABASE_URL="your_database_connection_string"
    # Add other required API keys (Reloadly, etc.)
  4. Initialize the Database: Generate the Prisma client:

    npx prisma generate

    Apply migrations:

    npx prisma migrate dev
  5. Run the development server:

    npm run dev

    Open http://localhost:3000 in your browser to see the app.

πŸ“œ Scripts

  • npm run dev - Starts the Next.js development server.
  • npm run build - Generates Prisma client and builds the application for production.
  • npm run start - Starts the Next.js production server.
  • npm run lint - Runs ESLint to analyze the code.
  • npm run dev:test-network - Utility script to test the connection to the Reloadly network.
  • npm run migrate:deploy - Deploys Prisma migrations.

πŸ“„ License

This project is proprietary and intended for authorized use only.

Popular repositories Loading

  1. .github .github Public

    This is the repo for the README.md for BoominSquare

Repositories

Showing 1 of 1 repositories

Top languages

Loading…

Most used topics

Loading…