https://github.com/ghusta/demo-spring-boot-postgres-world-db
Demo project for Spring Boot with Postgresql sample database
https://github.com/ghusta/demo-spring-boot-postgres-world-db
Last synced: 3 months ago
JSON representation
Demo project for Spring Boot with Postgresql sample database
- Host: GitHub
- URL: https://github.com/ghusta/demo-spring-boot-postgres-world-db
- Owner: ghusta
- Created: 2024-03-01T12:51:57.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-24T14:46:26.000Z (8 months ago)
- Last Synced: 2025-01-06T22:35:49.068Z (5 months ago)
- Language: Java
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Demo project for Spring Boot with Postgresql sample database
:toc:
:toclevels: 3== Get started
=== Start the sample database
==== With Docker
[source,bash]
----
docker run -d -p 5442:5432 --name pg-world-db ghusta/postgres-world-db:2.11
----Run psql CLI commands :
[source,bash]
----
docker exec -it pg-world-db psql -d world-db -U world
----Then list the tables with psql :
[source,bash]
----
world-db=# \d
----Describe the `country` table :
[source,bash]
----
world-db=# \d+ country
----[TIP]
====
Find help here : https://github.com/ghusta/docker-postgres-world-db
======== I don't use Docker
But why ?
😱