Differences

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

Link to this comparison view

ii:labs:s2:05:tasks:04 [2022/05/31 15:31]
radu.ciobanu
ii:labs:s2:05:tasks:04 [2024/04/29 19:32] (current)
radu.ciobanu [04. [10p] Administrating a database]
Line 1: Line 1:
-==== 04. [00pStopping ​multi-node Docker Swarm cluster ​====+==== 04. [10pAdministrating ​database ​====
  
-Stop the Play with Docker cluster by clicking the orange //**Close session**// button.+== Subtasks ==
  
 +  - go to the Adminer interface on [[http://​localhost:​8080]] (or see [[ii:​labs:​s2:​04|lab 4]] if you are working on Play with Docker)
 +  - log into the database using the following details:
 +    - System: PostgreSQL
 +    - Server: lab5-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 a 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
ii/labs/s2/05/tasks/04.1654000284.txt.gz ยท Last modified: 2022/05/31 15:31 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