Aplicativo React Native production-ready para controlar equipamentos de reabilitação conectados via REST API e WebSocket.
EVERRISE é uma solução médica inovadora que combina hardware (Raspberry Pi + ESP32 + Sensores) com software mobile (React Native) para:
- ✅ Controlar guincho de reabilitação via joystick ou botões
- ✅ Monitorar telemetria em tempo real (bateria, altura, carga)
- ✅ Detectar obstáculos e sobrecarga OFFLINE (sem dependência de nuvem)
- ✅ Realizar parada de emergência com 1 toque
- ✅ Conversar com assistente médico baseado em IA
- ✅ Gerenciar múltiplas sessões de reabilitação
- Node.js ≥ 18.0.0
- npm ou yarn
- JDK 11 ou superior (para Android)
- Android Studio com SDK 28+ ou Xcode 14+ (para iOS)
- React Native CLI versão 0.72+
- Backend: Spring Boot REST API em execução
- Banco de Dados: MySQL 5.7+
- Cache: Redis (opcional)
- Message Broker: HiveMQ MQTT (opcional, para device communication)
- IA/ML: Raspberry Pi com YOLOv5n + TFLite
git clone https://github.com/everrise-medical/mobile.git
cd MeuProjetonpm install
# ou
yarn installCrie arquivo .env na raiz do projeto:
# .env
REACT_APP_API_URL=http://localhost:8080/api
REACT_APP_WS_URL=ws://localhost:8080
REACT_APP_ENV=development
REACT_APP_LOG_LEVEL=debug# Terminal 1 — Metro Bundler
npm start
# Terminal 2 — Build e Run
npm run android# Terminal 1 — Metro Bundler
npm start
# Terminal 2 — Build e Run
npm run iossrc/
├── assets/ # Imagens, ícones, fontes
├── components/ # Componentes compartilhados (Button, Card, etc)
├── features/ # Features principais (auth, dashboard, control, chat, manual)
├── hooks/ # Hooks customizados (useWebSocket, useAuth, etc)
├── navigation/ # React Navigation stacks
├── services/ # API clients, business logic
├── store/ # Zustand state management
├── theme/ # Design tokens e cores
├── types/ # TypeScript types (se usar TS)
└── utils/ # Helpers, validators, formatters
| Camada | Tecnologia | Versão |
|---|---|---|
| UI Framework | React Native | 0.72+ |
| State Management | Zustand | 4.4+ |
| HTTP Client | Axios | 1.6+ |
| Navigation | React Navigation | 6.x |
| Styling | NativeWind | 4.0+ |
| Data Fetching | React Query | 5.x |
| WebSocket | Native WebSocket API | - |
| Chave | Descrição | Padrão | Exemplo |
|---|---|---|---|
REACT_APP_API_URL |
URL base da API REST | http://localhost:8080/api |
https://api.everrise.com/api |
REACT_APP_WS_URL |
URL base do WebSocket | ws://localhost:8080 |
wss://api.everrise.com |
REACT_APP_ENV |
Ambiente | development |
production, staging |
REACT_APP_LOG_LEVEL |
Nível de logging | debug |
info, warn, error |
REACT_APP_API_TIMEOUT |
Timeout de requisições (ms) | 10000 |
5000 |
Arquivo de entrada da aplicação. Renderiza o RootNavigator.
Configuração do Expo/React Native (nome, versão, permissões, etc).
- ARCHITECTURE.md — Diagrama da arquitetura, comunicação entre sistemas
- SCREENS.md — Detalhamento de cada screen e rotas
- API.md — Endpoints REST e eventos WebSocket
- DESIGN_SYSTEM.md — Guia de componentes, cores, tipografia
- SAFETY_RULES.md — Regras críticas de segurança
- CONTRIBUTING.md — Guia de contribuição
# Testes unitários (Jest)
npm test
# Testes com coverage
npm test -- --coverage
# E2E tests (Detox — se configurado)
npm run e2enpm run build:androidnpm run build:iosnpm start -- --reset-cache- Verifique se o backend está rodando em
REACT_APP_WS_URL - Revise firewall/CORS
rm -rf node_modules package-lock.json
npm installProprietary — EVERRISE Medical Solutions © 2024
- Email: dev@everrise.com
- Issues: GitHub Issues
- Documentação: Wiki do repositório