ENT Insight is a mobile application designed for analyzing Medical images related to ENT (Ear, Nose, and Throat) conditions using Deep learning APIs.
These instructions will help you set up and run the ENT Insight NextJs App on your local machine for development and testing purposes.
- Upload and analyze Medical images.
- Real-time prediction and analysis results.
- User-friendly interface.
- Node (Latest Version): Install Node
- WebStorm/VSCode (IDE)
- Ngrok for backend API tunneling: Install Ngrok
git clone https://github.com/24-25J-097/ent-disease-detection-webapp.git
cd ent-disease-detection-webapp
- Register an account and log in to the Ngrok dashboard official site.
- Download and install Ngrok from the official site.
- Run the following command to authenticate Ngrok on your system:
ngrok config add-authtoken <token>
- Start your local Node.js backend API server.
cd <path to ent-disease-detection-api>
npm start
- Read the instruction in DL Model Repo
ngrok http --domain=monarch-witty-platypus.ngrok-free.app 4000
Replace 4000 with your backend’s port. Ngrok will provide a public URL like https://.ngrok.io.
- Open the file .env-example (or wherever the API URL is configured).
- Copy .env-example to .env
- Update the NEXT_PUBLIC_FASTAPI_BASE_URL value:
#.env
NEXT_PUBLIC_FASTAPI_BASE_URL="https://<your-ngrok-url>.ngrok.io"
npm install
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
Copyright (c) 2024 24-25J-097
All rights reserved. No part of this software may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without prior written permission from the author, except for brief quotations in reviews or academic references.
Unauthorized use, modification, or distribution is strictly prohibited.