Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backend] Create endpoint to accept invite #271

Open
FelipePSoares opened this issue Nov 25, 2024 · 10 comments
Open

[Backend] Create endpoint to accept invite #271

FelipePSoares opened this issue Nov 25, 2024 · 10 comments

Comments

@FelipePSoares
Copy link
Owner

FelipePSoares commented Nov 25, 2024

Create an endpoint in the ProjectsController to accept a invitation to a project. This will allow users to accept a invitation for a specific project.

  1. Endpoint:

    • Add a POST endpoint to the ProjectsController.
    • URL: /api/projects/{token}/accept
    • HTTP Method: POST
  2. Logic:

    • Check if the logged user is the user in the invitation.
    • Check if the invite still valid.
    • Set the invite as accepted based on the token.
@s0hei1
Copy link

s0hei1 commented Dec 7, 2024

Hey
i wanna take a look to this

@FelipePSoares
Copy link
Owner Author

Hey @s0hei1 ,

Welcome, fell free to sign to you and start this one, let me know if you need anything.

@s0hei1
Copy link

s0hei1 commented Dec 8, 2024

cool, its my first experience
at first i have to read a part of project... and also your development guide
can i assign this one to my self? or you have to do it?

@s0hei1
Copy link

s0hei1 commented Dec 8, 2024

i've read your development guide...
but i'couldn't find out any code style or policy...
so i'm going to deep dive into your project

@s0hei1
Copy link

s0hei1 commented Dec 8, 2024

is there any database backup to restore for testing?

@FelipePSoares
Copy link
Owner Author

cool, its my first experience
at first i have to read a part of project... and also your development guide
can i assign this one to my self? or you have to do it?

Cool, welcome. This is my first project that I share to more people contribute.

You can assign for yourself and move to in progress in project please.

@FelipePSoares
Copy link
Owner Author

i've read your development guide...
but i'couldn't find out any code style or policy...
so i'm going to deep dive into your project

Sorry, I'll take some time to improve my development guide with your tips. Thanks.

But really no worry so much with that.

@FelipePSoares
Copy link
Owner Author

is there any database backup to restore for testing?

When you run the project it create some data to turn simple for tests inside program.cs. If you need some specific data feel free to add there to create when the application starts.
But if you are talking about in production, you are free to go there and create your own account.

https://github.com/FelipePSoares/EconoFlow/blob/master/EasyFinance.Server%2FProgram.cs

@FelipePSoares
Copy link
Owner Author

And I thought now, but to be possible develop this issue that you are working now, this one need to be done first. Let me see if @saksham-malhotra-27 will want to do that. If he decided don't do it I'll work on it then you can start this issue with this new fields.

@FelipePSoares
Copy link
Owner Author

Hey @s0hei1!

The issue that has dependency is merged, now you can work on it if you want.

Thank you in advance.

@FelipePSoares FelipePSoares added dependencies Pull requests that update a dependency file and removed dependencies Pull requests that update a dependency file labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

2 participants