One Next.js codebase for iOS, Android and Web using Capacitor, TailwindCSS and authentication with Supertokens, written in Typescript
This product analysis is for a starter project that allows developers to build a web application with authentication and session management, as well as a mobile application using Capacitor. The project uses Next.js, Tailwind CSS, and Supertokens for authentication and session management. The key benefit of this project is that developers can use the same React UI for both the web and mobile application, saving time and providing a unified UI experience.
npx create-supertokens-app@latest --manager=yarn to create the appnpm install --global yarncd <folder> and run yarn install and yarn dev to start the development servernext-app folder and run yarn build and yarn open:iosnext-app folder and run yarn build and yarn open:androidPlease refer to the Capacitor docs and Supertokens docs for more information.
This starter project provides a convenient way for developers to build web and mobile applications with authentication and session management using Next.js, Tailwind CSS, Supertokens, and Capacitor. The project allows for shared code between web and mobile applications, providing faster development and a unified UI with the same React components. It also offers the flexibility to use any web/js library and promises similar performance to React Native apps using Capacitor.