This is a demo project that you can use for 'ping' a website and get the time that the page loads in milliseconds.
It has the sitewatch-api as the backend, that pings the websites from the server and returns to the frontend its results.
You can check this project running on https://sitewatch.maxmaccari.vercel.app/.
yarn install
yarn serve
yarn build
yarn test:unit
yarn test:e2e
yarn lint
yarn test
- Ping a website and display its results in milliseconds;
- Ping a website and display an error if there is an error;
- Have a history of pingged websites;
- The history is persisted in the local storage;
- Clear the website history;
- Ping a website again from the history;
- Synchronize the ping history between tabs from same browser;
- Search pingged websites by its url;
- Display the favicon of each pingged website;
- Paginate the ping history.
- VueJS 2.6
- Vuex 3.4 for state management
- vuex-persistedstate for state persisting on local storage
- Axios for API calls performing
- tailwindcss for the UI
- eslint + prettier to enforce code quality
- jest for unit tests
- cypress for e2e tests
There's another version that uses scss
and you can checkout it through git checkout scss-version
.