Create a food ordering app with Strapi and Next.js 2/7

With the latest version of Strapi you need to put a /api before requests, meaning instead of getting a list of all restaurants from localhost:1337/restaurants you use localhost:1337/api/resturants. Hope this helps anyone who got stuck like me.