Prosperity Beyond Work β Building frameworks for a world where human dignity and economic security exist independent of labor markets.
This platform is designed to deploy automatically with no manual configuration required.
- Push this code to a GitHub repository
- Go to app.netlify.com
- Click "Add new site" β "Import an existing project"
- Connect your GitHub repo
- Click "Deploy"
That's it! Netlify will:
- β Install dependencies
- β Build the frontend
- β Deploy serverless functions
- β Auto-provision PostgreSQL database
- β Run database migrations on first API call
# Install Netlify CLI
npm install -g netlify-cli
# Login to Netlify
netlify login
# Deploy (creates new site automatically)
netlify deploy --prod- Run
npm install && npm run buildlocally - Go to app.netlify.com/drop
- Drag the
distfolder to deploy
Note: Drag & drop only deploys static files. For full functionality with database, use Options 1 or 2.
- User Authentication - Register, login, secure sessions
- Architecture Framework - Goals, strategies, capabilities, principles
- Proposal System - Create, vote, discuss governance proposals
- Voting - Approve, reject, or abstain on proposals
- Discussions - Threaded comments and conversations
- Activity Feed - Track all platform activity
The database is automatically provisioned and initialized:
- Netlify DB (PostgreSQL via Neon) - auto-provisioned
- Migrations - run automatically on first API call
- Seed Data - 33 architecture elements pre-loaded
No database setup required!
ple-app/
βββ *.html # Frontend pages (10 pages)
βββ netlify/
β βββ functions/ # Serverless API
β βββ lib/db.mjs # Database module (auto-migration)
β βββ auth.mjs # Authentication
β βββ proposals.mjs # Proposals CRUD
β βββ architecture.mjs # Architecture elements
β βββ votes.mjs # Voting system
β βββ discussions.mjs # Comments/discussions
β βββ activity.mjs # Activity feed
βββ src/
β βββ scripts/api.js # Frontend API client
β βββ styles/ # CSS design system
βββ netlify.toml # Netlify configuration
βββ package.json
βββ vite.config.js
# Install dependencies
npm install
# Start dev server (includes local database emulation)
netlify devThe app will be available at http://localhost:8888
| Endpoint | Methods | Description |
|---|---|---|
/api/auth |
POST, GET | Authentication |
/api/proposals |
GET, POST, PUT, DELETE | Proposals |
/api/architecture |
GET | Architecture elements |
/api/votes |
GET, POST, DELETE | Voting |
/api/discussions |
GET, POST, PUT, DELETE | Discussions |
/api/activity |
GET | Activity feed |
The platform uses the Structured Optimism brand identity:
- Primary: Horizon (#1B4D3E) - Deep forest green
- Accent: Dawn (#F4A261) - Warm amber
- Typography: Fraunces (display) + Inter (body)
Open source under the MIT License.
L/0 β The threshold between Labor and Zero. Not the end of work, but the beginning of choice.