Skip to content

nimitadesh/rare-insight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

RareReview: Purpose & Structure

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:

  1. Visual Studio Code: https://code.visualstudio.com/
  2. NodeJS: https://nodejs.org/en
  3. Git CLI: https://docs.github.com/en/get-started/getting-started-with-git/set-up-git
  4. 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!

1. Cloning the repo locally

  1. In the terminal/command prompt, navigate to the folder in which you want to clone the repo
  2. Enter the following command to clone the repo:
  git clone https://github.com/nimitadesh/rare-insight
  1. Open the project in VS Code
  2. Open a new terminal tab in VS Code and type the following command to checkout the main branch
  git checkout main

2. Adding the .env file

  1. Add a blank .env file under the server folder
  2. Email me at [email protected] to get the credentials
  3. 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!)

3. Running the backend locally

  1. Open a new terminal tab in VS Code and enter the following command to navigate to the server folder:
  cd server
  1. Install all dependencies using the following command:
  npm i
  1. In the same tab, enter the following command to start the backend:
  npm run dev

4. Running the frontend locally

  1. Open a new terminal tab in VS Code and enter the following command to navigate to the client folder:
  cd client
  1. Install all dependencies using the following command:
  npm i
  1. In the same tab, enter the following command to start the backend:
  npm start

5. Viewing the application in the browser

Once the backend and frontend are up and running, navigate to http://localhost:3000/ in your browser to view the application.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors