This is a sample application to figure out how better to develop PWA (Progressive Web Apps) offline-first applications with SSR support (Server-Side Rendering) made as SPA (Single-page application). Usually, for offline-first applications, you don't need to use SSR, but for things like public catalog-like apps it's necessary (SEO, external links to cards).

Like many others, I use the React framework to build SPAs. I keep all data in client IndexedDB to work in offline mode and synchronize it when there is an internet connection. The backend is made in the Next.js framework, which provides out-of-the-box support for SSR and generates SW (Service worker) for PWA.

https://github.com/wholegroup/movie-app