Page MenuHomePhabricator

Commit skeleton code for Frontend of Bernard/dbbackups dashboard (webapp)
Closed, ResolvedPublic

Description

In preparation for the development of frontend of Bernard / dbbackups dashboard, this ticket is to cover the creation of a Flask app (webapp) which will basically grab the data from our APIs and serve it on a webpage with HTML/CSS template, perhaps using the Jinja templating framework

The backend API is contained in a folder called api_db
The front end contents will be in the folder called webapp

Tasks

  • Create skeleton code, with Dockerfile, which can serve a basic HTML/CSS page
  • This basic HTML page should contain some data which was pulled from our api_db app, running on a webproxy on the WMF instances.

Acceptance

  • Can run the program on Debian 9/10 successfully on the WMF Cloud instance
  • Code present in repo under webapp folder

Event Timeline

Change 703490 had a related patch set uploaded (by H.krishna123; author: H.krishna123):

[operations/software/bernard@master] [WIP] web_app: Creating skeleton code for frontend, and static files

https://gerrit.wikimedia.org/r/703490

Change 703490 merged by Jcrespo:

[operations/software/bernard@master] web_app: Created skeleton code for frontend, with new amendments to api_db and static files

https://gerrit.wikimedia.org/r/703490