A modern consultancy platform for managing Brazilian cultural incentive programs, tracking leads, and evaluating grant eligibility.
FeaturesΒ Β Β |Β Β Β ArchitectureΒ Β Β |Β Β Β TechnologiesΒ Β Β |Β Β Β InstallationΒ Β Β |Β Β Β UsageΒ Β Β |Β Β Β License
- Pipeline Visualization - Kanban-style board to track leads through stages
- Lead Scoring - Automatic eligibility scoring algorithm for grant programs
- Contact Management - Store organization info, cultural areas, and grant interests
- Activity Tracking - Log notes, calls, emails, and status changes
- ProAC ICMS - Sao Paulo state tax incentive program
- Lei Rouanet - Federal cultural incentive law
- PNAB - Politica Nacional Aldir Blanc (national cultural policy)
- Government API Integration - Real-time data from FomentoCultSP and SALIC APIs
- Task Assignment - Link tasks to leads and grants with priority levels
- Activity Log - Complete audit trail of all interactions
- Deadline Tracking - Never miss important grant submission dates
- Row Level Security - PostgreSQL RLS policies for data isolation
- Server-Side Rendering - Fast initial loads with SvelteKit SSR
- Real-time Updates - Powered by Supabase subscriptions
graph TD
User[User / Admin]
subgraph "Jim Consultoria Platform"
LB[SvelteKit Server]
UI[Svelte 5 UI]
API[Server Actions]
Services[Business Logic]
end
subgraph "Data Layer"
DB[(Supabase PostgreSQL)]
Auth[Supabase Auth]
end
subgraph "External APIs"
Fomento[FomentoCultSP API]
SALIC[SALIC API]
end
User -->|HTTPS| LB
LB --> UI
LB --> API
API --> Services
Services --> DB
Services --> Auth
Services --> Fomento
Services --> SALIC
sequenceDiagram
participant C as Client
participant S as SvelteKit Server
participant D as Supabase DB
participant A as Auth
C->>S: Request Page
S->>A: Validate Session
A-->>S: User Data
S->>D: Fetch Data (RLS Applied)
D-->>S: Filtered Results
S-->>C: Rendered HTML + Hydration
- SvelteKit 2.x - Full-stack web framework
- Svelte 5 - Reactive UI with Runes (
$state,$derived,$effect) - TypeScript 5.x - Type-safe development
- Supabase - PostgreSQL database with RLS
- Supabase Auth - Authentication & authorization
- Zod v4 - Schema validation
- Superforms - Form handling for SvelteKit
- Tailwind CSS 4.0 - Utility-first styling
- svelte-dnd-action - Drag and drop for Kanban
- Node.js 20+
- pnpm 8+
- Supabase Account (free tier works)
- Clone the repository
git clone https://github.com/gabrielmaialva33/jim-consultoria.git
cd jim-consultoria- Install dependencies
pnpm install- Configure environment
cp .env.example .envFill in your Supabase credentials:
PUBLIC_SUPABASE_URL=your-project-url
PUBLIC_SUPABASE_ANON_KEY=your-anon-key- Run database migrations
# Using Supabase CLI
supabase db push- Start the development server
pnpm dev- Open in browser
Navigate to http://localhost:5173
- Navigate to Admin > Leads in the dashboard
- Click New Lead to add a contact
- Fill in organization details, cultural areas, and grant interests
- The system automatically calculates eligibility score
- Drag leads across pipeline stages on the Kanban board
- Go to Grants page to explore approved projects
- Filter by program: ProAC ICMS, ProAC Editais, PNAB
- Search by project name or proponent
- View project details and funding information
- Create tasks linked to specific leads
- Set priority levels and due dates
- Track progress and mark as complete
pnpm dev # Start development server
pnpm build # Production build
pnpm preview # Preview production build
pnpm check # TypeScript type checking
pnpm lint # Check with Biome
pnpm lint:fix # Auto-fix lint issuesThis project is under the MIT license. See LICENSE for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Made with β€οΈ by Maia
gabrielmaialva33@gmail.com Β |Β @gabrielmaialva33
Jim Consultoria - Empowering Cultural Projects in Brazil
Β© 2017-present Maia
