This is a demo deployment of a nextjs app on AWS with the use of SST. There is some simple routing available to test the following features:
To test the unauthorized route you can toggle your login status here.