Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
theodiPublic archive

About

Antimicrobial resistance register frontend

Topics

Resources

Stars

0 stars

Watchers

2 watching

Forks

Repository files navigation

Antimicrobial resistance register

Vue.JS frontend that consumes and API of surveillance data around antimicrobial resistance.

Environment variables

The .env file in the application directory should contain:

client_id=
client_secret=

The variables are:

  • client_id and client_secret are for accessing the API

These environment variables should also be configured on Heroku

Installing & running

To clone and run the app, use the following commands;

$ git clone git@github.com:theodi/amr-frontend.git
$ cd amr-frontend
$ npm install
$ npm run dev

Deployment

The AMR Frontend is deployed to Heroku. In order to deploy the project must be 'built' to the 'dist' directory.

# connect to heroku
$ heroku git:remote -a amr-frontend-staging
$ git remote rename heroku staging

$ npm run build
$ npm run deploystaging
$ npm run deploy

Built With

  • Vue.JS - JavaScript Framework
  • Axios - Promise based HTTP client
  • Node - Server

Contributing

Please read add any issues here, or make a pull request here.

Authors

  • Phil Lang - Open Data Institute

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Antimicrobial resistance register frontend

Topics

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages