https://github.com/aseyed/flask-restapi
https://github.com/aseyed/flask-restapi
flask-application oop-programming rest-api
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aseyed/flask-restapi
- Owner: Aseyed
- Created: 2019-04-27T10:12:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-27T10:18:25.000Z (almost 7 years ago)
- Last Synced: 2025-02-08T06:14:50.184Z (about 1 year ago)
- Topics: flask-application, oop-programming, rest-api
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Flask restAPI
#### To run execute these commands in terminal
```
> pipenv shell
> ./runserver.sh
#### What is in script?
> to Determine the app:
* export FLASK_APP=app.py
> to change the environment to developement:
* export FLASK_ENV=development
> to enable debug mode:
(if you ran the prev command this is not required.)
* export FLASK_DEBUG=1
> flask run --host HOST --port PORT
```