Skip to content

add projects to the frontend#174

Open
pheobeayo wants to merge 4 commits intomainfrom
fix/add-projects-to-frontend
Open

add projects to the frontend#174
pheobeayo wants to merge 4 commits intomainfrom
fix/add-projects-to-frontend

Conversation

@pheobeayo
Copy link
Collaborator

fixes #166

  • added the projects implementation in the backend to the frontend

Copy link
Contributor

@joelamouche joelamouche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good but I wasn't able to test, see comment

id: string;
name: string;
description: string;
owner_address: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you look at backend/src/application/dtos/project_dtos.rs you will see that the api doesn't return owner_address.
This is why when testing locally I get

Image

Also if I look at backend/migrations/004_create_projects_table.sql I can see this field is not in the db either.

Please add owner_address in the backend to fix this pb.

Also, in the future, pls run and test locally your app before posting a PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I will work on it

Copy link
Contributor

@joelamouche joelamouche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't stress this enough: you need to test features locally before submitting a PR for review


export type CreateProjectData = {
name: string;
description: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

status is missing here but required in backend/src/application/dtos/project_dtos.rs whichy is why I'm getting this

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add projects to the front end

2 participants

Comments