A small Vue.js application to list the most starred GitHub repositories that were created in the last 30 days.
After designing the Repository & RepositoryList compenents, connecte the app via the GitHub API to get the top starred repositories by passing two parameters : created
date (last 30 days) & the current page (by default page = 1
).
Configure the Intersection Observer and attach it to the Trigger component, then emit a triggerIntersected event to be used to trigger loadMore
function and fetch additional repositories.
- Vuejs, Vue-cli3
- Axios
- Intersection Observer
- GitHub API
npm install
npm run serve
npm run build
npm run lint