- 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.
- 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.
- 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}.
GPL