- Go to https://dreaming.now
- Login with these credentials:
- email: [email protected]
- 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 [email protected].
- Install Node.js and pnpm.
- Set up a MongoDB instance.
cp .env.example .env
and enter theMONGODB_URI
there.- Modify line 23 in
app/page.tsx
to readconst allowCreateProject = true;
- Run the development server:
pnpm dev
- Open http://localhost:3005 with your browser to see the result.
- Find the webhook secret in the
Project
MongoDB 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}
.
GPL