Skip to content

Angular based single page application designed to help visualize data from the PharmaDB API and ETL pipeline. PharmaDB is a series of tools designed to help identify relationships between drug patents and their drug labels.

Notifications You must be signed in to change notification settings

pharmaDB/capstone_spa

Repository files navigation

PharmadbSpa

This project was generated with Angular CLI version 11.2.3.

In order to run the application you must first verify or install the below requirements

You must also pull the repository and install the projects npm dependencies which can be done with the following three commands...

git clone https://github.com/pharmaDB/capstone_spa

cd capstone_spa

npm install

After successfully running these commands, the application can be run locally or built for deployment by following the below sections.

This web app requires an instance of the PharmaDB API to be running since that is what provides the data needed for the webapp. If you're running this web application against your own installation of the PharmaDB API, then you must change the environment apiUrl parameter to reflect the domain or IP address on which you're running your instance of the PharmaDB API. This could be done by modifying the /environments/environment.ts and /environment/environment.prod.ts files or by adding an addition Angular environment.

By default, the application will use https://api.pharamadb.org as the data source, which may or may not be up at the time of reading this.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Docker

Run ng build --prod for a prod build Run Docker build -t av-app-image . to create a docker image Run docker run --name av-app-container -d -p 8080:80 av-app-image to start the container

About

Angular based single page application designed to help visualize data from the PharmaDB API and ETL pipeline. PharmaDB is a series of tools designed to help identify relationships between drug patents and their drug labels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •