abxsantos / validawaree-backend

Software for validation of analytical data, based on ANVISA, the Brazilian Health Regulatory Agency

Home Page:https://agile-temple-75165.herokuapp.com/api_docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VALIDAWAREE (backend) License: MIT

Branch Travis Codecov LGTM
master Build Status codecov Language grade: Python

VALIDAWAREE is a scientific web application capable of validating experimental analytical data based on the latest ANVISA (Brazilian National Sanitary Surveillance Agency).

This repository contains the backend for this application, which can also be installed and used as a python package, or as an API.

Setup

Currently the project runs on python 3.6 +.

  • Install python version 3.6+

  • Create a and activate a virtual environment:

    virtualenv venv --python=python3
    source ./venv/bin/activate
    
  • Install the dependencies:

    pip -r requirements.txt
    
  • To run the app use:

    flask run
    
  • Navigate to http://localhost:5000 in your browser.

  • See http://localhost:5000/api_docs for the API documentation.

Run tests

The tests are located inside the tests folder in the root directory. To check, simply run in the terminal with the virtual environment activated: pytest tests/

Branches

The repository contains one permanent branch:

  • master: Contains the code that has been released.

About

Software for validation of analytical data, based on ANVISA, the Brazilian Health Regulatory Agency

https://agile-temple-75165.herokuapp.com/api_docs

License:MIT License


Languages

Language:Python 100.0%