This project is a comprehensive system designed to aggregate and process articles about rare diseases, generate relevant tags and summaries using Google Gemini's generative AI, and provide an interactive frontend for users to search and filter articles. The backend, located in the server folder, includes scripts for fetching articles from the NewsAPI and CrossRef API, storing them in a database, and leveraging generative AI for tagging and summarization. The client folder contains the React and Tailwind-based frontend, which delivers an intuitive UI for exploring and filtering the processed articles. This setup enables efficient information retrieval and enhances accessibility to critical insights about rare diseases.
NOTE: Before cloning the repo, make sure to have the following installed/set up:
- Visual Studio Code: https://code.visualstudio.com/
- NodeJS: https://nodejs.org/en
- Git CLI: https://docs.github.com/en/get-started/getting-started-with-git/set-up-git
- MongoDB Account: https://www.mongodb.com/
If you run into any issues with the following steps, please feel free to reach out to Nimita Deshpande ([email protected]) to receive further assistance!
- In the terminal/command prompt, navigate to the folder in which you want to clone the repo
- Enter the following command to clone the repo:
git clone https://github.com/nimitadesh/rare-insight
- Open the project in VS Code
- Open a new terminal tab in VS Code and type the following command to checkout the main branch
git checkout main
- Add a blank .env file under the server folder
- Email me at [email protected] to get the credentials
- Copy-paste these credentials into the blank .env file you created in step 1 (NOTE: You may need to request access to the MongoDB database for your username before running the backend. Please reach out to me to request access!)
- Open a new terminal tab in VS Code and enter the following command to navigate to the server folder:
cd server
- Install all dependencies using the following command:
npm i
- In the same tab, enter the following command to start the backend:
npm run dev
- Open a new terminal tab in VS Code and enter the following command to navigate to the client folder:
cd client
- Install all dependencies using the following command:
npm i
- In the same tab, enter the following command to start the backend:
npm start
Once the backend and frontend are up and running, navigate to http://localhost:3000/ in your browser to view the application.