Skip to content

hermesloom/dreaming.now

Repository files navigation

dreaming.now

Try it

  1. Go to https://dreaming.now
  2. Login with these credentials:
  3. 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 [email protected].

Getting Started

  1. Install Node.js and pnpm.
  2. Set up a MongoDB instance.
  3. cp .env.example .env and enter the MONGODB_URI there.
  4. Modify line 23 in app/page.tsx to read const allowCreateProject = true;
  5. Run the development server: pnpm dev
  6. Open http://localhost:3005 with your browser to see the result.

Adding funds to users' accounts

  1. Find the webhook secret in the Project MongoDB collection.
  2. If you want a different authentication provider, add this at app/api/auth/route.ts.
  3. 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

Contact

[email protected]

About

Realizing dreams through participatory, grassroots democratic budgeting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages