Skip to content

Main logic and database #5

Description

@Next3K

Database:

  • design and implement database that holds: jobs and events (Postgres)

Implement main class:

  • main reads database to get list of "jobs" to perform
  • main does all "jobs" by calling EventProvider's method: getEvents()
  • main saves Events into Database

image

Example:

Main makes request to the database, gets a list of "jobs" to do. Each job should hold information about subject of the job (GitHubState). Main takes this GitHubState and makes request to Event provider: getEvents(gitHubState), method returns list of Events that should be saved into the database

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions