Skip to content

KH-Programmers/NeulBom_Backend

Repository files navigation

NeulBom Backend Project

This is Research version written by Leader, ChanWoo Song with FastAPI

1. Project Structure

├── 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

2. How to run

  1. Install python3 and pip3
  2. Install requirements
  3. Fill config.ini like config.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)
  1. Run app.py with next command
$ pip3 install -U -r requirements.txt
$ python3 app.py

3. Issues?

  • If your issue is the issue of the scrypt package, please follow.
  1. Windows, Install OpenSSL Package
  2. 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
  1. Debian and Ubuntu
$ sudo apt-get install build-essential libssl-dev python-dev
$ pip3 install scrypt
  1. Fedora and RHEL-derivatives
$ sudo yum install gcc openssl-devel python-devel
$ pip3 install scrypt

About

Backend project of NeulBom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •