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

Clubs Service #15

Open
2 of 7 tasks
IkeHunter opened this issue Oct 7, 2024 · 2 comments
Open
2 of 7 tasks

Clubs Service #15

IkeHunter opened this issue Oct 7, 2024 · 2 comments
Assignees
Labels
backend Involves more work with Django, python, PostgreSQL good first issue Good for newcomers

Comments

@IkeHunter
Copy link
Collaborator

IkeHunter commented Oct 7, 2024

Info

The models have already been implemented, and the REST API just uses the default view and serializer logic. However, when other parts of the app need to manage clubs/members, they should be able to use easy to under stand interfaces/methods.

The service has already been laid out in app/clubs/services.py, with the method names and short docstrings already added in. This task mainly just involves using the models already created to perform the actions described by the doc strings and the method names.

Task

  • get_registration_link
    • Return link to sign up page with query string ?club={club_name}, this will need to be set up in the urls file
  • register_member
    • Creates a new membership object
  • increase_member_coins
  • decrease_member_coins
  • record_member_attendance
    • Creates a new EventAttendance object
  • create_event
  • create_recurring_event
@IkeHunter IkeHunter added good first issue Good for newcomers backend Involves more work with Django, python, PostgreSQL labels Oct 24, 2024
@MarcoDelcas
Copy link
Contributor

Hi.

I can help you with the implementation of some functions. I am new to github. I would like to collaborate

@IkeHunter
Copy link
Collaborator Author

@MarcoDelcas Sounds good, let me know if you need help with anything. I'll update the CONTRIBUTING.md docs at some point, but the way most ppl contribute is by "forking" the repo to their own account, "cloning" it down to their local machine, making the changes, "pushing" the changes back up to their fork, then creating a "pull request" - or PR.

Here's a good walkthrough of how to do all of that: https://github.com/asmeurer/git-workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Involves more work with Django, python, PostgreSQL good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants