karpolan/react-mui-vite-ts — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a clean starter web app that I can use as the base for a real React project. I want it to use Vite, React, TypeScript, and MUI, with a polished looking interface instead of a blank demo page.

Please include reusable common components, a public layout and a private logged in layout, basic authentication handling with hooks and events, and simple state management using React context. Add a light and dark theme toggle that actually changes the app style. Include a few example pages so I can see how navigation, protected pages, and shared layouts are supposed to work.

Also set up formatting, linting, and component testing so the project feels ready to build on. Add sensible placeholder title and description values that are easy to replace later. Include PWA basics like favicon and manifest. Keep the code organized and easy to understand. Look up current docs online if you need to.

Want more depth? Deep Reverse