https://github.com/abxsantos/validawaree-backend
Software for validation of analytical data, based on ANVISA, the Brazilian Health Regulatory Agency
https://github.com/abxsantos/validawaree-backend
backend flask-restful heroku python3 scientific-research unit-testing
Last synced: 5 days ago
JSON representation
Software for validation of analytical data, based on ANVISA, the Brazilian Health Regulatory Agency
- Host: GitHub
- URL: https://github.com/abxsantos/validawaree-backend
- Owner: abxsantos
- License: mit
- Created: 2020-06-07T13:25:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T11:00:48.000Z (almost 3 years ago)
- Last Synced: 2023-03-05T13:09:08.111Z (over 2 years ago)
- Topics: backend, flask-restful, heroku, python3, scientific-research, unit-testing
- Language: Python
- Homepage: https://agile-temple-75165.herokuapp.com/api_docs
- Size: 44.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# VALIDAWAREE (backend) [](https://opensource.org/licenses/MIT)
Branch | Travis | Codecov | LGTM
-------|--------|---------|------
master | [](https://travis-ci.org/abxsantos/validawaree-backend) | [](https://codecov.io/gh/abxsantos/validawaree-backend) | [](https://lgtm.com/projects/g/abxsantos/validawaree-backend/context: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/
```
## BranchesThe repository contains one permanent branch:
- **master**: Contains the code that has been released.