The responsive React-based user interface for the Heliix federated social network. This Client allows users to interact with multiple backend instances, creating a seamless federated experience.
- Federated Instance Connectivity: Connects to multiple backend instances (Instance A, Instance B) dynamically.
- Modern UI: A cyber-futuristic aesthetic featuring the unique "Doodle Bot" mascot and glassmorphism elements.
- Interactive Elements:
- Animated post creation with smooth transitions.
- Real-time feed updates.
- Interactive user search and connection management.
- Responsiveness: Fully optimized layouts for both mobile devices (with drawer navigation) and desktop views.
- Framework: React 19
- Language: TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- Animations: Framer Motion
- API Communication: Axios
- Node.js (v18+ recommended)
- npm
-
Navigate to the frontend directory:
cd fsn-frontend -
Install dependencies:
npm install
Start the development server:
npm run devThe application will be available at http://localhost:5173.
To build the application for deployment:
npm run buildThe build artifacts will be generated in the dist directory.
- Instances: Backend instances are configured in
src/config/instances.ts. You can add or modify instance URLs and branding colors here. - API Connection:
src/api/api.tshandles the API logic. It dynamically connects to the instance selected by the user on the landing page (stored inlocalStorage).
src/components: Reusable UI components (Buttons, Modals, Mascot, etc...).src/pages: Main application views (Dashboard, Login, Profile, etc...).src/api: API definition and Axios configuration.src/config: Static configuration for instances and app constants.src/utils: Helper functions and hooks.