Updated: February 11, 2025

Getting Started

Welcome to PSS!

Powersport Share (PSS) is a peer-to-peer rental marketplace that connects powersport vehicle owners with enthusiasts looking to rent them. Whether you're a host looking to earn extra income from your vehicles or a renter seeking adventure, PSS makes it simple and secure.

This documentation will guide you through everything you need to know about the platform.

Local Development Setup

Follow these steps to set up your local development environment:

  1. Repository Access
    • Request access to the PSS repository from the development team
    • You'll need both GitHub and Supabase access
  2. Clone the Repository
    git clone https://github.com/Powersport-Share/Powersport-Share.git
    cd Powersport-Share
    
  3. Install Dependencies
    npm install
    
  4. Environment Configuration Create a .env file in the project root with the following variables:
    SUPABASE_URL=
    SUPABASE_ANON_KEY=
    SUPABASE_SERVICE_KEY=
    STRIPE_SECRET_KEY=
    STRIPE_PUBLISHABLE_KEY=
    STRIPE_WEBHOOK_SECRET=
    R2_ACCESS_KEY_ID=
    R2_SECRET_ACCESS_KEY=
    R2_BUCKET_NAME=
    NUXT_PUBLIC_GOOGLE_MAPS_API_KEY=
    
    Important: These environment variables are sensitive and will be provided by the team. Ensure .env is listed in your .gitignore file to prevent accidental commits.
  5. Database Setup
    npm run generate_types
    
    You'll be prompted to log in to Supabase through the terminal.
  6. Start Development Server
    npm run dev
    
    ✨ Success! Your development server should now be running at http://localhost:3000
  7. Recommended VSCode Extensions