Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ii:labs:s2:04:tasks:04 [2022/05/18 20:03]
radu.ciobanu
ii:labs:s2:04:tasks:04 [2024/04/11 12:45] (current)
radu.ciobanu
Line 1: Line 1:
-==== 04. [10pAdministrating a database ​====+==== 04. [30pPublishing an image ====
  
 == Subtasks == == Subtasks ==
  
-  - go to the Adminer interface on [[http://localhost:​8080]] (or see [[ii:​labs:​s2:​03|lab 3]] if you are working on Play with Docker) +  - create a [[https://hub.docker.com|Docker Hub]] account 
-  - log into the database using the following details: +  - publish one of your previous images (either ​the Flask app, or the NodeJS app) to your Docker Hub registry 
-    - System: PostgreSQL +  - run container ​using the image from the registry
-    - Server: lab4-db +
-    - Username: admin +
-    - Password: admin +
-    - Database: books +
-  - check that you can observe a table called //​**books**//​ and click on it +
-  - click the //**Select data**// button ​to see the books already in the database (you should see the book you previously added) +
-  - click the //**New item**// button and add new book (you should only fill in the //​**title**//​ and //​**author**//​ text boxes and then press //​**Save**//​) +
-  - using Postman, send a //**GET**// request and check that the backend also returns the book you added in Adminer +
- +
-== What to upload == +
- +
-  * print screens ​from Adminer showing ​the //​**books**//​ table and the new book you add +
-  * print screens from Postman with the //**GET**// request showing the newly-added book+
ii/labs/s2/04/tasks/04.1652893390.txt.gz · Last modified: 2022/05/18 20:03 by radu.ciobanu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0