Skip to content

mongodb-developer/MongoRx

Repository files navigation

MongoRx

What it is

This application demonstrates how MongoDB Atlas, Atlas Search, Atlas Vector Search, Atlas Charts and Realm, combined with cloud ecosystem services like Google Maps and Google Geocoding can be used to build a data discovery and exploration application.

The application visualizes two datasets -- one from ClinicalTrials.gov and another from OpenFDA -- to create a unique information discovery experience that was not possible using the existing search UI offered by these respective websites.

Installation

  1. git clone https://github.com/mongodb-developer/MongoRx.git
  2. Create Angular environment files from template

    cd src/environments
    cp environment.prod.ts.sample environment.prod.ts
    cp environment.ts.sample environment.ts
  3. Create an API key for Google Maps.

  4. Edit environment.prod.ts and environment.ts and update the googleMapsApiKey property with your new API key.

  5. Create a config file from template

    cd MongoRx/deploy
    cp env.config.sample env.config
  6. Edit env.config and provide your MongoDB Atlas API public and private keys, your Atlas project ID, Atlas cluster name, and the connection string for your Atlas cluster.

  7. Execute the setup script -- note: this is a long-running script that may take upwards of an hour to complete!

    ./setup.sh

Running the Application

To run the app locally in development mode:

cd MongoRx
npm start

To run the app locally in production mode:

cd MongoRx
ng serve --browser-target project:target:production

Navigate to http://localhost:4200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •