An open source digital wellness app
- FHIR Integration: Blaze FHIR server for healthcare data storage (FHIR R4 compliant)
- Authentication: SuperTokens with magic link authentication
- Frontend Framework: Next.js with React and TypeScript
- Styling: Tailwind CSS with Radix UI components
- Backend Integration: Works alongside the Konsulin API as the API gateway
- Psychological Instruments: Access to various psychometric tools and assessments
- Digital Interventions: Evidence-based exercises for self-compassion, mindfulness, and mental health
- Appointment Management: Schedule and manage appointments with psychologists
- Payment Gateway: Secure payment processing for healthcare services
- FHIR-Compliant Health Records: Comprehensive health record management using FHIR R4 standards
- Real-time Communication: Messaging and notification system
- Responsive Design: Optimized for desktop, tablet, and mobile devices
Make sure you have the following installed:
This frontend application requires the Konsulin API backend service to be running. Please follow the backend setup instructions first to ensure the API gateway is available.
-
Clone this repository:
git clone [email protected]:konsulin-care/fe-konsulin.git cd fe-konsulin
-
Install the dependencies:
npm install
-
Set up environment variables:
- Copy the environment configuration file
- Update the API endpoints to point to your local backend service
-
Start the development server:
npm run dev
The application will be available at http://localhost:3000.
For full local development, ensure both services are running:
- Backend API: Running on
http://localhost:8080(or your configured port) - Frontend: Running on
http://localhost:3000
The frontend will communicate with the backend API for all data operations, authentication, and FHIR resource management.
npm run dev- Start the development servernpm run build- Build the application for productionnpm run start- Start the production servernpm run lint- Run ESLint for code quality checksnpm run format- Format code using Prettier
- Framework: Next.js 14+ with App Router
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: Radix UI
- Authentication: SuperTokens
- Data Fetching: React Query
- Form Management: React Hook Form with Zod validation
- Healthcare Standards: FHIR R4 compliance
- Development Tools: ESLint, Prettier, Husky
- Ensure both frontend and backend services are running locally
- Follow the established coding standards and patterns
- Test your changes across different user roles (patient, practitioner, admin)
- Ensure FHIR compliance for any healthcare data operations
Konsulin is distributed under the AGPL-3.0 License. You may not use Konsulin's logo for other projects. Commercial licenses are available for organizations that wish to use this software without AGPL obligations. Contact [email protected] to obtain a commercial license.