Create function to get last messages
Result
We have a function that returns last messages
Approach
Simple async await js function that fetch data from http://146.185.154.90:8000/messages and returns the result
Motivation
We need last messages
AC
Open browser
Open console
See array of last messages or empty array
Expectation
1h