An open API service indexing awesome lists of open source software.

https://github.com/firmanjs/boilerplate-flask

boillerplate flask using multi database
https://github.com/firmanjs/boilerplate-flask

docker docker-compose flask flask-api flask-sqlalchemy mongodb mysql postgresql python sqlachemy

Last synced: 3 months ago
JSON representation

boillerplate flask using multi database

Awesome Lists containing this project

README

        

# Boilerplate-Flask

## About

This is api service boilerplate example

## Installation

If you are using **windows**,

First include the python to venv

```
py -3 -m venv venv
```

And activate the venv

```
venv\Scripts\activate
pip install -r requirement.txt
```

If you are using **linux**,

First install venv

```sh
sudo apt-get install python3-pip
sudo pip3 install virtualenv
```

include the python to venv

```
virtualenv -p python3.x venv
```

And activate the venv

```
source venv/bin/activate
pip install -r requirement.txt
```

example install package
```sh
pip install package && pip freeze > requirements.txt
```

# Usage

Run the script

```
python run.py
```

You can see which port the api server running