https://github.com/eon01/flaskrestful-template
https://github.com/eon01/flaskrestful-template
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eon01/flaskrestful-template
- Owner: eon01
- License: mit
- Created: 2017-06-09T12:28:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-30T13:52:24.000Z (about 9 years ago)
- Last Synced: 2025-02-22T07:48:03.850Z (over 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flask Restful Code Template
A code template to start Flask API REST projects using Flask Restful
## Without Docker
```
virtualenv -p python3 my_app
cd my_app
. bin/activate
git clone https://github.com/eon01/flaskrestful-template.git app
cd app
pip install -r requirements.txt
export FLASK_APP=app.py
flask run
```
## With Docker
```
git clone https://github.com/eon01/flaskrestful-template.git app
cd app
docker build -t my_app .
docker run -it --name my_app -p 80:5000 my_app
```