This is Research version written by Leader, ChanWoo Song with FastAPI
├── README.md
├── app.py
├── setup.py
├── routes
│ ├── meal
│ │ ├── __init__.py
│ │ ├── route.py
│ ├── user
│ │ ├── __init__.py
│ │ ├── route.py
├── utilities
│ ├── config.py
│ ├── logger.py
│ ├── http.py
│ ├── security.py
│ ├── database
│ │ ├── func.py
│ │ ├── schema.py
├── config.ini
├── config.example.ini
├── requirements.txt
- Install python3 and pip3
- Install requirements
- Fill
config.ini
likeconfig.example.ini
- HOST value is your server ip address
- PORT value is your server port
- DEBUG value is your server debug mode (True or False)
- Run app.py with next command
$ pip3 install -U -r requirements.txt
$ python3 app.py
- If your issue is the issue of the scrypt package, please follow.
- Windows, Install OpenSSL Package
- MacOS, Install OpenSSL Package
$ brew install openssl
$ export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS"
$ export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS"
$ pip3 install scrypt
- Debian and Ubuntu
$ sudo apt-get install build-essential libssl-dev python-dev
$ pip3 install scrypt
- Fedora and RHEL-derivatives
$ sudo yum install gcc openssl-devel python-devel
$ pip3 install scrypt