Vue.JS frontend that consumes and API of surveillance data around antimicrobial resistance.
The .env
file in the application directory should contain:
client_id=
client_secret=
The variables are:
client_id
andclient_secret
are for accessing the API
These environment variables should also be configured on Heroku
To clone and run the app, use the following commands;
$ git clone [email protected]:theodi/amr-frontend.git
$ cd amr-frontend
$ npm install
$ npm run dev
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
Please read add any issues here, or make a pull request here.
- Phil Lang - Open Data Institute
This project is licensed under the MIT License - see the LICENSE.md file for details