Skip to content

Conversation

@EarthenSky
Copy link
Collaborator

@EarthenSky EarthenSky commented Aug 9, 2024

elections PR, woo!

@EarthenSky EarthenSky linked an issue Aug 9, 2024 that may be closed by this pull request
@EarthenSky EarthenSky changed the title Issue 25 First Elections PR Aug 18, 2024
@DerpyWasHere DerpyWasHere marked this pull request as ready for review September 27, 2024 01:48
Copy link
Collaborator Author

@EarthenSky EarthenSky left a comment

Choose a reason for hiding this comment

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

I'll do another review round after, but 99% looks good!

@DerpyWasHere
Copy link
Member

Alright, brief high level summary. This PR introduces the following:

  • CRUD functions for creating, getting, updating, and deleting elections.
  • SQLAlchemy tables for elections, nominees, and nominee applications (election paired with nominee)
  • Endpoints for creating, deleting, and updating elections.

This still needs to introduce/do the following:

  • Endpoint for getting/viewing an election's data (public and private).
  • Test user validation.

I'll work on these in my next PR.

As of this comment, all of the above comments should have been addressed.

Copy link
Collaborator Author

@EarthenSky EarthenSky left a comment

Choose a reason for hiding this comment

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

Oops, since I made this PR originally I can't request changes. However, consider this "request changes".

The biggest issue is the uniqueness of the slug, the rest are medium level.

Mostly the logic is good!

@EarthenSky
Copy link
Collaborator Author

This PR creates tables for elections and nominees, while introducing tested endpoints just for the elections (C,R,U,D)

@EarthenSky EarthenSky merged commit f765ac9 into main Apr 7, 2025
3 checks passed
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.

Elections Info

4 participants