Currently running at Heroku
API Dashboard available at Dashboard.
Credentials:
Username | Password |
---|---|
admin | admin |
Swagger-UI available at Swagger-UI. It's incomplete though.
This project is generated using python 3.
- Install postgresql server and python (postgresql v12 and python v3.8 has been used in this project)
Run below commands
git clone https://github.com/sg-engr-stream/backend-flask
pip install -r requirements.txt
update database configuration at environment
and dboard
, and update system name in app.py
and services\psql_config.py
python app.py
API's should be running at http://localhost:5000/
Browse http://localhost:5000/, you should see 'Hello World!'.
Create or own app using heroku cli (app name needs to be unique, below will not work)
heroku create app-stage --remote stage
heroku create app-prod --remote prod
git push stage master
orgit push prod master
delete from public."fmdStackLine"
;delete from public."fmdOutlier"
;delete from public."fmdRequest"
;delete from public."fmdEndpoint"
;delete from public."fmdCodeLine"
;delete from public."fmdCustomGraph"
;delete from public."fmdCustomGraphData"
;