- "bookbook" is always lowercase
- commits follow the
<type>(<scope>): <description>
convention - prefer not to use TypeORM Repository's
save
method (reference) - avoid TypeScript enums. If you make one, only type with it like
${MyEnum}
An election holds candidates and ballots.
name
- the name of the electionis_complete
- gets marked by someone with proper permissions
Candidates are the options available in an election
name
data {JSON}
not yet implemented
Instead of a data
column, we should use single table inheritance to extend the Candidate model.
not yet implemented
permission {SET(cast_vote, remove_voter, complete_election)}
– a set of abilities available when this code is enteredsecret
– the code that grants the permissions
author
candidate_id
election_id
score
not yet implemented Elections can belong to a club.
not yet implemented Members of a club. When a user locks their account with a passcode we create a member.