All Projects → noharm-ai → backend

noharm-ai / backend

Licence: MIT license
NoHarm API for Smart Prescription Screening

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
HTML
75241 projects

Projects that are alternatives of or similar to backend

healthcare-server
A rubyOnRails based web application with a small concept behind healthcare
Stars: ✭ 16 (+6.67%)
Mutual labels:  prescriptions

backend

Build Issues
License: MIT Maintainability Test Coverage

Api for Mobile App

1. Install

$ python3 -m venv env
$ source env/bin/activate
$ pip3 install -r requirements.txt

2. Test your Env

$ python3 mobile.py &
$ curl -X POST -d '{"email":"teste", "password":"1234"}' -H "Content-Type: application/json"  http://127.0.0.1:5000/authenticate
$ curl -X GET http://127.0.0.1:5000/prescriptions

Troubleshooting Tips

For error such as:

  • "cannot find -lssl; cannot find -lcrypto” when installing mysql-python?"
  • "mysql_config: not found"
  • "invalid command 'bdist_wheel'"
$ sudo apt install libmysqlclient-dev
$ sudo apt install libssl-dev
$ pip3 install wheel

For error such as:

  • "ModuleNotFoundError: No module named 'psycopg2'"
$ sudo apt install libpq-dev
$ pip install psycopg2
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].