UNPKG

minikit-limpo-template

Version:

A minimal Next.js app starter template with WorldCoin MiniKit authentication integration

35 lines (28 loc) 1.94 kB
# Project Updates This file tracks the development progress and changes made to the MiniKit Starter Template. ## 2025-06-01: Initial Template Creation ### Objective Create a minimal Next.js app starter template with Worldcoin MiniKit integration for authentication. ### Changes Made - Set up Next.js project structure with TypeScript and Tailwind CSS - Integrated WorldCoin MiniKit for wallet authentication - Created login page with MiniKit wallet authentication flow - Added dashboard page that displays the logged-in username - Created placeholder Info and Settings pages - Implemented bottom navigation bar with three tabs (Home, Info, Settings) - Added internationalization support (i18next) with English, Spanish, and Portuguese translations - Created language switcher component - Implemented responsive design optimized for mobile devices - Added keyboard visibility detection to hide TabBar when keyboard is open ### Files Created - `src/minikit-provider.tsx`: MiniKit initialization - `src/components/TabBar.tsx`: Bottom navigation bar component - `src/components/LanguageSwitcher.tsx`: Language switching component - `src/app/page.tsx`: Login page with MiniKit wallet authentication - `src/app/dashboard/page.tsx`: Dashboard page displaying username - `src/app/info/page.tsx`: Placeholder info page - `src/app/settings/page.tsx`: Settings page with language options and logout - `src/app/api/nonce/route.ts`: API endpoint for generating authentication nonce - Translation files for multiple languages ### Why These Changes The template provides a simple, minimal starting point for developers building applications with WorldCoin MiniKit authentication. It includes just enough functionality to demonstrate the authentication flow and basic app structure, while remaining easy to customize. The mobile-optimized design ensures the template works well on all devices, especially phones where the World App is typically used.