Something went wrong. Try again.
Realizing dreams through participatory, grassroots democratic budgeting.
Something went wrong. Try again.
Files
- TypeScript 97%
- CSS 3%
- Shell <1%
- JavaScript <1%
README.md
dreaming.now #
Try it #
- Go to https://dreaming.now
- Login with these credentials:
- email: demo+dreaming.now@divizend.com
- password: 12345678
- Play around in the platform! Feel free to assign funds within the "My Awesome Community" project and create new projects, buckets and budget items.
If you'd like to assign funds to an account to use it productively, please contact me at julian@dreaming.now.
Getting Started #
- Install Node.js and pnpm.
- Set up a MongoDB instance.
cp .env.example .envand enter theMONGODB_URIthere.- Modify line 23 in
app/page.tsxto readconst allowCreateProject = true; - Run the development server:
pnpm dev - Open http://localhost:3005 with your browser to see the result.
Adding funds to users' accounts #
- Find the webhook secret in the
ProjectMongoDB collection. - If you want a different authentication provider, add this at
app/api/auth/route.ts. - Execute a HTTP request like this:
curl "https://dreaming.now/api/projects/<slug>/funds" -X POST --data '{"userId":"<user ID>","amount":10}' -H "X-Webhook-Secret: <uuid>"
Upon success, this endpoint returns a JSON object like {"success":true}.
License #
GPL