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:
- Repository Access
- Request access to the PSS repository from the development team
- You'll need both GitHub and Supabase access
- Clone the Repository
git clone https://github.com/Powersport-Share/Powersport-Share.git cd Powersport-Share - Install Dependencies
npm install - Environment Configuration Create a
.envfile 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.envis listed in your.gitignorefile to prevent accidental commits. - Database Setup
npm run generate_typesYou'll be prompted to log in to Supabase through the terminal. - Start Development Server
npm run dev✨ Success! Your development server should now be running at http://localhost:3000 - Recommended VSCode Extensions
- Nuxtr Extension Pack - Nuxt 3 extension pack
- Tailwind CSS IntelliSense - Tailwind CSS support
- Prettier - Code formatting
- Vue & Nuxt Snippets - Vue and Nuxt snippets
- Javascript and Typescript Nightly - Javascript and Typescript support
- Iconify IntelliSense - Iconify support
Table of Contents