using pages based routing and server side rendering
Instructions:
• Create a todo list application to use custom API routes using Next.js
• The todo app should utilise Server Side rendering (SSR)
• Utilise pages based routing for your application.
• Create an API route to Fetch your todo items.
• Create an API route to add a new item to your todo list.
• Create an API route to edit an existing item in your todo list.
• Create an API route to delete an existing item from your todo list.
• Your project should have a view todo item screen.
• All the functionalities mentioned above should be working.
• Style your application using tailwind css and make sure it looks presentable and responsive.