React Native application for link management with web viewing support.
- Node.js 18+
- npm or yarn
- Expo CLI (will be installed automatically)
cd frontend
npm installnpm run devOr:
npm run webThe application will open in the browser at http://localhost:19006
Important: Make sure your API server is running on http://localhost:8080 (or change the URL in configuration)
npm startThen select the platform (iOS/Android/Web) or scan the QR code in the Expo Go app.
Current interface: Modern design in Cursor/GitHub style
- π Dark theme
- π¨ Minimalist and clean design
- π Search and filtering
- π Statistics in header
- β¨ Professional look
The project also contains 3 additional interface variants. Details in VARIANTS.md.
Additional variants:
- Classic List - simple vertical list
- Card Grid - visual cards with filtering
- Dashboard with Statistics - analytics and quick actions
To select another variant, open App.tsx and replace the ModernScreen import with the desired variant.
Default API URL: http://localhost:8080/api/v1
To change it, create a .env file in the frontend folder:
EXPO_PUBLIC_API_URL=http://your-api-url/api/v1
frontend/
βββ src/
β βββ api/
β β βββ client.ts # API client for backend interaction
β βββ screens/
β β βββ HomeScreen.tsx # Base screen (current)
β β βββ Variant1_ClassicList.tsx # Variant 1: Classic list
β β βββ Variant2_CardGrid.tsx # Variant 2: Card grid
β β βββ Variant3_Dashboard.tsx # Variant 3: Dashboard
β βββ types.ts # TypeScript types
β βββ config.ts # Configuration
βββ App.tsx # Main component
βββ package.json
βββ VARIANTS.md # UI variants description
- β Create links with optional resource
- β View list of all links
- β Get random link (with resource filter)
- β Mark link as viewed
- β Delete links
- β Display statistics (views, dates)
When code changes, the application will automatically reload in the browser (Hot Reload).
To stop, press Ctrl+C in the terminal.