Skip to content

Engineering / Open resources

Dreamerz

Platform for tracking life goals and metrics, with a Next.js frontend and a NestJS API.

Open repository

Contribution tasks

Proposals based on source inspection, awaiting maintainer review. Check the current version and existing issues before submitting. The link opens a draft: you review it and decide whether to publish.

Source inspected on

Allow recovery from dream creation failures

CreateDream awaits api.post and navigates on success, but has no try/catch or submission state. The form stays enabled during the request. The API has validation middleware, so failures need to be shown without losing the entered text.

Estimated size
S · 3–5 hours
Skills
React · TypeScript · Axios

Files and evidence

Step-by-step acceptance criteria

  1. Simulate a validation response and a network failure; catch submission errors and show an accessible message in the form.
  2. Keep the name and description after failure and allow retry; do not navigate to the list when creation fails.
  3. Disable submission while the request is pending and prevent repeated clicks from creating duplicate requests.
  4. Test failure, retry and a 201 response: success must make one request and navigate to /dashboard/dreams.
Review draft on GitHub

How to start contributing

Links come from the portfolio catalog; check availability, license and open tasks in each repository. Read the README and license, run the project and propose a small documentation improvement or a reproducible test case. Discuss larger changes with the maintainer first.

Read the README

Project evidence