Middleware demos

These middleware demos will show you a glimps of what you can do with middleware, In every demo there is also a small explenation and what you can further do on your own with each of these demo's. These are some small projects for more demo’s visit: https://vercel.com/features/edge-functions.

Browser detection

This demo will automatically redirect you to a page that tells you which browser you are on. Using redirect in middleware

Location detection

This middleware demo will show you your: country, city, latitude, longitude and region. Using request in middleware.

My own small project

This is a small countdown that will open a page (could be a shop for example) when the countdown finishes