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
- Host: GitHub
- URL: https://github.com/firmanjs/boilerplate-flask
- Owner: firmanJS
- License: mit
- Created: 2021-01-01T22:32:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-01T08:04:54.000Z (over 4 years ago)
- Last Synced: 2025-02-02T09:41:36.912Z (5 months ago)
- Topics: docker, docker-compose, flask, flask-api, flask-sqlalchemy, mongodb, mysql, postgresql, python, sqlachemy
- Language: Python
- Homepage:
- Size: 585 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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