Appearance
Getting Started with Family Shapes
This section provides everything you need to get started with the Family Shapes platform as a developer: environment setup, running the app, and links to core guidelines.
Table of Contents
Prerequisites
Before you begin, ensure you have the following installed:
- Node.js 18+ and npm
- Supabase CLI
- Git
Installation
bash
# Clone the repository
git clone <repository-url>
cd family-shapes
# Install dependencies
npm installEnvironment Configuration
Create a .env.local file in the root directory with the following variables:
env
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_keyFor database operations, create a .env file (not committed) with:
env
SUPABASE_PROJECT_REF=nhkufibfwskdpzdjwirr
SUPABASE_DB_PASSWORD=your-remote-db-passwordRunning the Application
bash
# Start the development server
npm run dev
# Build for production
npm run build
# Preview the production build
npm run previewDatabase Setup
The application uses Supabase for the database. Follow these steps to set up the database:
bash
# Reset the local database to match migrations
make db/reset
# Check for drift between local and production
make db/checkSee Database Guidelines for details: ../database/README.md.
Next Steps
Once you have the application running, you can:
- Review product features:
../features/implemented-features.md - Learn organization features:
../features/ORGANIZATION_FEATURES.md - Explore the donor portal:
../features/donor-portal.md - Understand engineering patterns:
../development/connections.md - Read agent rules and workflows:
/AGENTS.md