Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

NoHarm API for Smart Prescription Screening

License

NotificationsYou must be signed in to change notification settings

noharm-ai/backend

Repository files navigation

BuildIssues
License: MITMaintainabilityTest 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

[8]ページ先頭

©2009-2025 Movatter.jp