smooth-app
전 세계 식품의 성분·영양·정보를 자유롭게 협업하고 공개하는 데이터베이스
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
🏥 MediGuide — AI Clinical Triage & Healthcare Navigation
MediGuide is an intelligent, mobile-first healthcare navigation platform designed for busy individuals (working professionals, shift workers, 24/7 parents). The application minimizes user hesitation and confusion about seeking medical care by evaluating physical symptoms against the patient's full medical profile, providing authoritative guidance on whether a hospital visit is necessary or if home care is safe, and connecting them to nearby healthcare facilities.README 전문 보기 ↗MediGuide is an intelligent, mobile-first healthcare navigation platform designed for busy individuals (working professionals, shift workers, 24/7 parents). The application minimizes user hesitation and confusion about seeking medical care by evaluating physical symptoms against the patient's full medical profile, providing authoritative guidance on whether a hospital visit is necessary or if home care is safe, and connecting them to nearby healthcare facilities.
#0F9C8E (Primary Teal), #F6FBFA (Soft Background Surface), #FF8A65 (Warm Accent Coral), and elevated card hierarchy (18px radius).+) for instant access to AI consultation.< Back header button renders dynamically on web browser builds.App.addListener('backButton')).👥 Patients, ⭐ Rating, ⏱️ Experience), date horizontal pickers, and full-width CTA buttons.scale(0.97)), skeleton loaders, and mic pulsing animations during voice triage.OnboardingWizard.jsx):
onboardingCompleted), so it follows the user across devices and every step can be skipped.All, MediGuide partners, Public facilities) filter both the list and the map markers.@keyframes pulseMic recording feedback.@capacitor/core, @capacitor/app, @capacitor/android)SpeechRecognition / webkitSpeechRecognition)index.css)@google/genai) with intelligent local fallback triage engineMediguide/
├── backend/
│ ├── src/
│ │ ├── config/ # Database connection setup
│ │ ├── controllers/ # AI, Auth, Organization, Slot (booking) and File logic
│ │ ├── middlewares/ # JWT authentication & role authorization
│ │ ├── models/ # Mongoose schemas (User, Organization, Slot, File)
│ │ ├── routes/ # Express route definitions
│ │ └── seeders/ # Demo data seeder (organizationSeeder.js)
│ ├── .env.example # Environment variable template
│ ├── package.json
│ └── server.js # Node/Express server entry point
├── frontend/
│ ├── android/ # Capacitor Android Native Project Scaffold
│ ├── src/
│ │ ├── components/ # HospitalMap, route guards, Spinner, etc.
│ │ ├── context/ # AuthContext (single source of user state)
│ │ ├── pages/ # auth, patient (home, onboarding, profile, slots...), org, admin
│ │ ├── services/ # API service layer (fetch wrappers)
│ │ ├── App.jsx # Route definitions & providers
│ │ ├── index.css # Design tokens & global CSS variables
│ │ └── main.jsx # React DOM entry point
│ ├── capacitor.config.json # Capacitor mobile config (App ID: com.mediguide.app)
│ ├── package.json
│ └── vite.config.js
└── README.md
git clone https://github.com/Sehrishzarin/Mediguide.git
cd Mediguide
cd backend
npm install
cd ../frontend
npm install
Copy the templates and fill them in:
cp backend/.env.example backend/.env # MONGODB_URI, JWT_SECRET, CLIENT_ORIGIN, optional GEMINI_API_KEY
cp frontend/.env.example frontend/.env.local # VITE_API_BASE_URL=http://localhost:5000/api
JWT_SECRET must be a long random string. In production set CLIENT_ORIGIN to your deployed frontend origin
(comma separated for several). Without GEMINI_API_KEY the built-in local triage engine answers instead.
Creates the demo accounts, partner organizations, public facilities and a week of bookable doctor sessions:
cd backend
npm run seed
Re-running it resets organizations and sessions (and the demo account passwords) but never deletes real sign-ups.
cd backend
npm run dev
(Runs on http://localhost:5000)
cd frontend
npm run dev
(Runs on http://localhost:5173)
Hosting note: free tiers such as Render put the API to sleep when idle, so the very first request can take ~30-50 s. The app pings
/api/healthas soon as it loads to wake the server early.
| Role | Password | Access | |
|---|---|---|---|
| Patient User | [email protected] | userpassword123 | Full patient triage, profile & map |
| Healthcare Org | [email protected] | orgpassword123 | Facility, staff and document management |
| System Admin | [email protected] | adminpassword123 | Approve / reject organizations |
All routes live under /api. 🔒 = needs Authorization: Bearer <token>.
POST /auth/register — sign up as a patient or organization (admin accounts can never be self-registered)POST /auth/login · 🔒 GET /auth/me · 🔒 PUT /auth/profile (partial update, also sets onboardingCompleted)PUT /auth/password · 🔒 DELETE /auth/me (password confirmation; removes the account's data)POST /ai/triage — rate limited; uses the signed-in patient's stored medical profileGET /organizations · GET /organizations/nearby?lat=&lng= (nearest approved partners + public facilities)POST /organizations/:id/reviews (patients, one review per facility)GET /organizations/mine, POST /organizations, POST|DELETE /organizations/:id/staffGET /organizations/admin/pending, PUT /organizations/:id/statusGET /slots · POST /slots/:id/book (atomic) · GET /slots/mine · DELETE /slots/:id/bookGET /files · POST /files · GET /files/:id/download · DELETE /files/:idThe repository includes a pre-configured native Android scaffold (frontend/android) with Capacitor plugins:
cd frontend
npm run build
npx cap copy
npx cap open android
From Android Studio, click Build > Build APK(s) or run on an emulator/device.
This project is licensed under the MIT License.