Closed fvalentiner closed 5 months ago
@fvalentiner can you please assign this issue to me?, Thanks
@fvalentiner please assign me? My sphinx name is Abubakar
@fvalentiner could you please assign me?
@fvalentiner Could you please assign me?
Hi @fvalentiner, Please assign me?
Context
Bounty: https://community.sphinx.chat/bounty/1980
We have a new requirement to add a property
phase_uuid
andphase_priority
to bounties in order to relate them to phases within features.Here is an schematic on the object relations:
Modify Endpoints: POST /gobounties/ GET /gobounties/all
New endpoints: GET /features/{feature_uuid}/phase/{phase_uuid}/bounty
Add columns to bounty Table in DB:
phase_uuid (text) null phase_priority (int) null
Design
clone branch https://github.com/stakwork/sphinx-tribes/tree/feature-add-bounty-to-phase
Make sure you are running posgresql locally
Create file .env with the following content PORT=5005 DATABASE_URL=postgres://postgres:asdf@localhost:5432/ebdb?sslmode=disable
Change DATABASE_URL to connect to your local DB (it could be an empty db)
Your job is to create the routes, handler functions and db changes in order for the test to pass. If you find any issues or typos in the cypress tests please let the creator of the issue know.
Before committing your changes make sure the cypress tests pass.
Acceptance Criteria