Skip to content

ReFurrm/store.refurrm.app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

116 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refurrm Creator Studio (Vite + React + TypeScript)

A Vite-powered React app for the Refurrm Creator Studio experience. This repository contains the client application and UI flows for creator onboarding, storefront, dashboard, and admin tools.

Quick Start

  1. Install dependencies:
npm install
  1. Start the dev server:
npm run dev
  1. Open the app:
  • Default Vite dev server: http://localhost:5173
  • The Vite settings say: “listen on all network addresses” and “use port 8080.” So if you use those settings, the app runs on port 8080 instead of 5173.

Scripts

  • npm run dev Start Vite dev server
  • npm run build Build for production
  • npm run build:dev Build in development mode
  • npm run preview Preview the production build locally
  • npm run lint Run ESLint
  • npm run test Run Vitest

Tech Stack

  • Vite 7
  • React 18
  • TypeScript
  • Tailwind CSS
  • React Router
  • Supabase client
  • shadcn/ui (Radix UI primitives)

Project Structure

  • src/ Application source
  • src/pages/ Route-level pages
  • src/components/ Feature components
  • src/components/ui/ UI primitives
  • src/contexts/ App/auth context providers
  • src/lib/ Helpers and API clients
  • public/ Static assets

Environment Variables

Create a .env file in the project root with the following:

VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key

If you add additional integrations, document them here.

Routing

Routes are defined in src/App.tsx. Pages should live in src/pages and be lazy-loaded into the router.

Linting & Tests

  • Lint before pushing changes:
npm run lint
  • Run unit tests (if present):
npm run test

Build Output

Production builds are written to dist/.

Troubleshooting

  • vite.config.ts uses mode for sourcemaps and terser options.
  • If you see errors related to duplicate imports or invalid JSON in package.json, verify the file is valid JSON and there are no duplicate dependency entries.

Branch Management

This repository uses multiple branches for feature development. To keep the repository clean:

  • Delete branches after merging PRs using GitHub's "Delete branch" button
  • Run regular cleanups using the provided script:
    # Preview branches that can be deleted
    ./scripts/cleanup-branches.sh --dry-run
    
    # Delete merged branches
    ./scripts/cleanup-branches.sh
  • Review the automated cleanup issues created weekly by the Branch Cleanup workflow

For more details, see BRANCH_MANAGEMENT.md

Contributing

  • Keep components small and composable.
  • Prefer @/ alias imports from src.
  • Avoid introducing secrets into the repo.

About

THIS ONE DUMMY

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages