https://www.youtube.com/watch?v=AsYfbmp0To0 https://www.postgresql.org/message-id/000e01bfa922%2403466330%24a20efea9%40indus https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-create-table/ https://www.w3schools.com/sql/sql_insert.asp rating formula = SUM(rating of a post)/number of ratings
Username | Password |
---|---|
gelato_lover1 | p@ssw0rd123 |
icy_delights82 | summerGelato! |
frosty_treats19 | ChocoMinty#1 |
creamy_dreams7 | GelatoGuru42 |
flavor_fanatic55 | YummySorbet@123 |
chilly_connoisseur | IcedDelights2023 |
sweet_tooth88 | GelatoLover88 |
frozen_indulgence | ScoopMaster99 |
creamy_bliss23 | DreamyGelato#23 |
frostbite74 | ChillOutNow! |
ravi | ravi |
REST API
Method | URL | Returns |
---|---|---|
GET | /api/posts | Returns all post |
GET | /api/reviews | Returns all reviews |
GET | /api/users | Returns all usernames |
GET | /api/user | Verify User |
id | title | link | description | created | mrating | lower | upper | hidden | member_id ----+---------------------------------+---------------------------------------+----------------------------------------------------------------------------------------------------+----------------------------+---------+-------+-------+--------+----------- 1 | Gelato Messina Fitzroy | https://goo.gl/maps/5rdjYnaXsQs8FQFDA | Celebrated gelato shop with trendy decor serving more than 40 creative flavours, plus thickshakes. | 2023-05-29 19:08:25.440815 | 0 | 0 | 0 | f | 12 2 | Piccolina Gelateria | https://goo.gl/maps/XjU63ccv2ZpbvrEX7 | 43 Hardware Ln, Melbourne VIC 3000 | 2023-05-29 19:16:53.762578 | 0 | 0 | 0 | f | 12 3 | C9 Chocolate and Gelato Fitzroy | https://goo.gl/maps/CWh1jJxhYVh7peDY7 | 377 Brunswick St, Fitzroy VIC 3065 | 2023-05-29 19:17:40.407547 | 0 | 0 | 0 | f | 12 4 | C9 Chocolate and Gelato Fitzroy | https://goo.gl/maps/CWh1jJxhYVh7peDY7 | 377 Brunswick St, Fitzroy VIC 3065 | 2023-05-29 19:19:18.350281 | 0 | 0 | 0 | f | 12 5 | New Zealand Natural | https://goo.gl/maps/8u8FzFoAHfHCHW7U6 | Relaxed ice cream chain also doling out frozen yoghurts, low-fat smoothies & made-to-order juices. | 2023-05-29 19:21:58.189649 | 0 | 0 | 0 | f | 12
id | username | score | pwhash
----+-----------------+-------+---------------------------------------------------------------------------------------------------
1 | gelato_lover1 | 0 | $argon2id$v=19$m=65536,t=2,p=1$JIQJvaLscTsRN734rvWvLQ$ez5o6SUBcFl7uu3IHDsvZ3a37vpdGe5cLgncNR8YKoI
2 | icy_delights82 | 0 | $argon2id$v=19$m=65536,t=2,p=1$9K/3jRhLBS6i1EGTvcMIOQ$+c8ldOakMxaZ0/d67mBwkZoYuVVIOHqMsHuIWMmBkvA
3 | frosty_treats19 | 0 | $argon2id$v=19$m=65536,t=2,p=1$VcVhQgUquz0ZnYe0f29uJw$fnuHicfXXjWdPN7hqeNNNmiRRkFx7eRz5Mg/+yVBT9U
4 | creamy_dreams7 | 0 | $argon2id$v=19$m=65536,t=2,p=1$ovBcEo0h9hgMJ8IAXFOgLQ$HqH7OKL6p8Ac9WqwUEpFXEdHdyrznosb8/fnDzzQznk
12 | ravi | 0 | $argon2id$v=19$m=65536,t=2,p=1$42KDeCQ1O93HR+nw/XaREg$MQQ16mKzcbjg+tOPtffdyad/0wkedopIoL1KkSyXiTU
49 | test1 | 0 | $argon2id$v=19$m=65536,t=2,p=1$Z3AXqYfTy5kxDJPLJrxdwQ$lf3wJilKOv18Bjjp+894EECSMsqM5/4FOOd9uUMl9Gc