create-universal-app (CUA) is an opinionated template facilitating the creation of full-stack universal applications, encompassing both mobile and web platforms with shared codebases. It leverages Expo for mobile development and Next.js for web development, coupled with tRPC for API communication, Prisma for database interactions, Tamagui for UI and styling, and Clerk for authentication. The project addresses the challenge of building consistent experiences across platforms while maintaining code reusability.
CUA distinguishes itself through its comprehensive, pre-configured stack, offering a complete solution for full-stack development. It prioritizes code sharing between web and mobile applications, enhancing development efficiency. The integration of Tamagui provides a fast and consistent visual experience across platforms. The template includes built-in authentication using Clerk, simplifying user management.
- Code Sharing: Enables significant code reuse between web and mobile applications, reducing development time and effort.
- Full-Stack Stack: Integrates popular technologies like Next.js, Expo, tRPC, Prisma, Tamagui, and Clerk for a complete development environment.
- Tamagui UI: Utilizes Tamagui for fast and consistent UI development on both web and mobile, with a component-based approach.
- Built-in Auth: Offers seamless authentication with Clerk, supporting both web and mobile platforms.
- Optimized Routing: Provides a unified navigation solution for both web and mobile apps.
- Developer Tools: Provides a VSCode extension to simplify the creation of new screens.
- Environment Variables: Uses environment variables for configurable settings like database connection and API keys.
The project is currently archived and no longer actively maintained, as indicated by the README. The repository has a moderate number of stars and forks, suggesting prior community interest. While the documentation is present, being archived means no new features or bug fixes are being actively addressed. As a result, users should be aware of potential issues or lack of support.
This project benefits developers aiming to create cross-platform applications with a consistent codebase. It's ideal for those seeking a rapid development workflow with pre-configured tools and a well-defined architecture, especially those comfortable with the technologies included. The architecture focus are on simplified building and deploying universal applications.
