Starred Projects:
Architecture:
- Symfony 4
Database Outline:
- starred_projects
- project
idcreated_at datetime- Date project entry was created in systemmodified_at datetime- Date project entry was modified in system (not used currently)repository_id int(11)- Repository Id from Github APIname varchar(50)- Name from Github APIurl varchar(200)- Public Url from Github APIrepository_creation_date datetime- Repository Creation Date from Github APIrepository_late_push_date datetime- Repository Last Push Date from Github APIdescription varchar(1000)- Description from Github APIstars int(11)- Stargazers count from Github API
- project
Usage:
- There is a command to update the listings of starred projects. It is:
bin/console repositories:fetch - This will delete all existing projects and grab a fresh copy. This is runnable by the command line as well as clicking the
Update Listbutton in the UI. - There are 2 services in use for this project.
ExternalRequestandUpdateRepositoriesExternalRequest performs a curl request and UpdateRepositories handles clearing the projects and storing new ones.
To start:
vagrant reload --provision