This project is used only for test at Genetica
PREREQUISITE:
- Postgresql was already installed
- For testing correctly, please make sure the postgres process is running at localhost:5432. username=postgres, password=:BLANK
- python 3.6
- Clone this repository
git clone https://github.com/vanhiepdam/genetica.git
- Run script
./quickstart.sh
- admin: admin/admin
- user: user/admin
Method POST
URL api/1/login
data {"username": "user", "password": "admin"}
Method GET
URL api/1/reports?state=[prepare|ready]
headers Authorization: Bearer :access_token
- Another special api:
Method GET
URL api/1/reports/ready
headers Authorization: Bearer :access_token