What you will practice
You will learn how to use Node Slack SDK and PageSpeed Insights library (made by the Google Chrome team) to build a Slack bot.
Introduction
The page speed of a website has never been more important. Not only does this impact user experience, Google also takes this into consideration in search results rankings. Let's build a Slack bot that can easily keep track of your deployed websites' page speed performance within your Slack workspace.
Requirements
- User can use a Slack command to send a website URL to the Slack bot. For example:
/psi https://codementor.io/projects
- User will receive Slack message sent from the Slack bot containing the PageSpeed Insights report. The report should include metrics like overall mobile and web scores, largest contentful paint, total blocking time, etc.
For an extra challenge: User can decide how many times they want to test a website and will receive a report that contains the average scores.