<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yaroslav Kolodiy on Medium]]></title>
        <description><![CDATA[Stories by Yaroslav Kolodiy on Medium]]></description>
        <link>https://medium.com/@yk0l0diy?source=rss-6e11a3b29eb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*S9xtNAzg0tSiO0tn1F1oVw.jpeg</url>
            <title>Stories by Yaroslav Kolodiy on Medium</title>
            <link>https://medium.com/@yk0l0diy?source=rss-6e11a3b29eb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 15:55:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yk0l0diy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to pull all git repos in a subdirectory?]]></title>
            <link>https://yk0l0diy.medium.com/how-to-pull-all-git-repos-in-a-subdirectory-d31cbd076bef?source=rss-6e11a3b29eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/d31cbd076bef</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[git-pull]]></category>
            <dc:creator><![CDATA[Yaroslav Kolodiy]]></dc:creator>
            <pubDate>Sun, 28 Mar 2021 19:45:14 GMT</pubDate>
            <atom:updated>2021-03-28T20:01:41.332Z</atom:updated>
            <content:encoded><![CDATA[<p>In the last couple of year I always faced the problem of having my work in two computers. And what&#39;s the better way to save your work in both computers? Definitely using github!! So I decided to create this post to help everyone with the same problem 🧐.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ek2YAd7LisTCtJlV" /><figcaption>Photo by <a href="https://unsplash.com/@yk0l0diy?utm_source=medium&amp;utm_medium=referral">Yaroslav Kolodiy</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>There are 2 ways of doing it:</h3><h4>By running every time the following command:</h4><pre>$ ls | xargs -I{} git -C {} pull</pre><p>This command will list all subfolders, and in each one will be executed the git pull instruction.</p><h4>By creating an alias to run it more easily:</h4><p>To do this you will need to edit your .bashrc configurations:</p><pre>$ sudo nano ~/.bashrc</pre><p>After this add the following line at the end of the file:</p><pre>alias pull_all = &quot;ls | xargs -I{} git -C {} pull&quot;</pre><p>After this you will need to restart your terminal, you can simply close it and open it again or by running the following command if you are using bash:</p><pre>$ exec bash</pre><p>And we are done!! Now you can simply run “pull_all” in your code folder and it will pull every repo that you have in that folder.</p><p>Read more:</p><p><a href="https://levelup.gitconnected.com/setup-postgresql-pgadmin-postgraphile-in-docker-d5bd1d97b17a">Setup PostgreSQL + pgAdmin + PostGraphile in Docker</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d31cbd076bef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup PostgreSQL in 10 seconds]]></title>
            <link>https://levelup.gitconnected.com/setup-postgresql-in-10-seconds-c22f7a1369cf?source=rss-6e11a3b29eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c22f7a1369cf</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Yaroslav Kolodiy]]></dc:creator>
            <pubDate>Tue, 26 May 2020 17:07:37 GMT</pubDate>
            <atom:updated>2020-05-26T17:07:37.538Z</atom:updated>
            <content:encoded><![CDATA[<p>Last month I wrote a story about <a href="https://levelup.gitconnected.com/setup-postgresql-pgadmin-postgraphile-in-docker-d5bd1d97b17a">How to setup PostgreSQL + pgAdmin + PostGraphile in Docker</a> and there is a simpler way to do it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kMfETeBhovCiOVsfR_zy5g.jpeg" /></figure><p>To launch the three containers that I mentioned in the previous story, we are going to use docker-compose.</p><p>Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration</p><p>Using Compose is basically a three-step process:</p><ol><li>Define your app’s environment with a Dockerfile so it can be reproduced anywhere, in this case we will use images from <a href="https://hub.docker.com/">dockerhub</a>.</li><li>Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment.</li><li>Run docker-compose up and Compose starts and runs your entire app.</li></ol><h4>Lets’s start hacking:</h4><ul><li>Create a file named docker-compose.yml</li><li>Open the file in your favorite text editor and paste the following code:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/461c33e1c49b17f6bd7cdb325810c9fd/href">https://medium.com/media/461c33e1c49b17f6bd7cdb325810c9fd/href</a></iframe><p>In the docker-compose we are defining our services witch have the same configurations that I wrote in the previous article.</p><ul><li>Create a file named .env. This file will have your configurations for the containers. Should be something like this:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/db86c277de88cf8ea8149a113f033e8c/href">https://medium.com/media/db86c277de88cf8ea8149a113f033e8c/href</a></iframe><p>And that is all services configured!</p><h4>To run the services</h4><pre># Run containers for all services in docker-compose.yml<br>$ docker-compose up<br><br># Run containers as daemon (in background)<br>$ docker-compose up -d</pre><h4>Re-initialize The Database</h4><p>In case you make changes to the database schema by modifying the files in /db/init, you will need to re-initialize the database to see these changes. This means you need to delete the Docker Volume, the database Docker Image and rebuild it.</p><pre># Stop running containers<br>$ docker-compose down</pre><pre># List Docker volumes<br>$ docker volume ls</pre><pre># Delete volume<br>$ docker volume rm &lt;your_repository_name&gt;_db</pre><pre># Delete database image to force rebuild<br>$ docker rmi db</pre><pre># Run containers (will automatically rebuild the image)<br>$ docker-compose up</pre><h4>Shut down containers</h4><pre># Shut down containers<br>$ docker-compose down</pre><p>And that is, a simpler way to run and deploy your PostgreSQL database with pgAdmin and PostGraphile API.</p><p>All of the code is in my <a href="https://github.com/YK0L0DIY/docker-compose-pg">Github</a> if you want to clone the repository or contribute with some changes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c22f7a1369cf" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/setup-postgresql-in-10-seconds-c22f7a1369cf">Setup PostgreSQL in 10 seconds</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Where should you start to invest?]]></title>
            <link>https://medium.datadriveninvestor.com/where-should-you-start-to-invest-5feccca85501?source=rss-6e11a3b29eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/5feccca85501</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[money-management]]></category>
            <category><![CDATA[teenagers]]></category>
            <category><![CDATA[money]]></category>
            <category><![CDATA[investing]]></category>
            <dc:creator><![CDATA[Yaroslav Kolodiy]]></dc:creator>
            <pubDate>Tue, 21 Apr 2020 13:36:53 GMT</pubDate>
            <atom:updated>2020-04-22T12:05:26.137Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you looking for something to invest in? Do you think that the best idea is to invest in stocks, crypto currency or real estate? You are completely wrong!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OKSx1A8WH5COZSAlHkBjWg.jpeg" /></figure><h4>If you really want to start investing you need to start by investing in yourself! You can start by:</h4><ul><li><strong>Developing new skills. </strong>Improving your skills doesn’t always mean investing in higher education, though that’s surely an option, and perhaps a necessary one depending upon your career field. Investing in your knowledge and skills can take many forms.</li><li><strong>Learning a new language</strong>. By learning a new language you will increase your communication skills and the ability to understand others. You will have the possibility to grow in your career by closing international deals. And also by learning a new language you will improve the memory, problem-solving and critical-thinking skills, enhanced concentration and develop the ability to multitask.</li><li><strong>Reading Books or eBooks. </strong>Reading is a fantastic way to invest in yourself. It also is a relatively cheap activity and can even oftentimes cost nothing. With the advent of the Kindle, iPad and Nook, it is even easier to find great reading material. Reading regularly has tremendous benefits. It stimulates your imagination, improves your vocabulary, increases your general knowledge, helps you relax, allows you to tap into the minds of great thinkers, assists you in solving problems, and it can be tremendously entertaining.</li><li><strong>Learning how the market works</strong>.Before investing your money you should learn how the market works to find out the best deals for your future investments and minimize the risk of losing money!</li><li><strong>Travel as many as you can. </strong>By traveling by yourself you will create amazing skills of communication and orientation that will help you in your future decisions. This will bring to you amazing memories that any money can buy…</li><li><strong>Expanding your mind. </strong>Learning new things and keeping your mind active, even in simple ways, helps to grow and maintain your mental ability.</li><li><strong>Caring about your body.</strong> Your body is like a well-oiled machine. If you care for it in the way that you might maintain an expensive car, it will perform marvelously and last for a very long time.</li><li><strong>Getting Rid of Toxic Friends. </strong>Having good friends is an important aspect of life. But having friends who are a positive influence is even more important. Be discriminate when choosing your friends and get rid of the ones who are negative, problem-laden, unmotivated, and who do not care about bettering themselves. To a large extent, you are a product of your environment and this includes the company you keep. Find friends that share your values.</li></ul><h3>Final Thoughts</h3><p>Investing in yourself truly makes a difference in your life, your well-being, and your ability to thrive and perform to the best of your ability. The extent to which you invest in yourself, on your mind and body, not only shapes the way you interact with the outside world, it often reflects the opinion that you have about yourself.</p><p><a href="https://www.datadriveninvestor.com/2020/03/12/three-simple-questions-and-one-difficult-one-to-ask-before-investing-in-a-blockchain/">Three Simple Questions (And One Difficult One) To Ask Before Investing In A Blockchain | Data Driven Investor</a></p><p>Your future is in large part determined by your willingness and ability to invest in yourself now.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fb2a0d6%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2Fb2a0d6%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/0707f5c806284d01a4a13c7b13a91ce3/href">https://medium.com/media/0707f5c806284d01a4a13c7b13a91ce3/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5feccca85501" width="1" height="1" alt=""><hr><p><a href="https://medium.datadriveninvestor.com/where-should-you-start-to-invest-5feccca85501">Where should you start to invest?</a> was originally published in <a href="https://medium.datadriveninvestor.com/">DataDrivenInvestor</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup PostgreSQL + pgAdmin + PostGraphile in Docker]]></title>
            <link>https://levelup.gitconnected.com/setup-postgresql-pgadmin-postgraphile-in-docker-d5bd1d97b17a?source=rss-6e11a3b29eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5bd1d97b17a</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[postgres]]></category>
            <dc:creator><![CDATA[Yaroslav Kolodiy]]></dc:creator>
            <pubDate>Sun, 29 Mar 2020 20:47:57 GMT</pubDate>
            <atom:updated>2020-07-11T21:14:08.700Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to setup PostgreSQL + pgAdmin + PostGraphile in Docker</h3><h4>The combination of Docker, PostgreSQL, pgAdmin, and PostGraphile is your ultimate weapon to get your application database and a GraphQL API running.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ZlmFEHVXYLWHBEM3DlKlag.jpeg" /></figure><p>I was trying to set up a simple example of PostGraphile, and I didn’t find any easy steps to I decided to create this one.</p><p><a href="https://graphql.org/">GraphQL</a> is a fantastic solution for communicating with server-side data. It allows developers to create fast and reliable API’s that solve the problem of <a href="https://stackoverflow.com/questions/44564905/what-is-over-fetching-or-under-fetching">over-fetching and under-fetching</a> of data by allowing those interacting with the server to specify the precise structure of the data needed from the server. This means both a better developer experience for those building applications consuming GraphQL APIs and faster applications for the end user.</p><p><a href="https://www.graphile.org/postgraphile/">PostGraphile</a>, previously known as PostGraphQL, does a great job at pairing these two technologies to allow developers to quickly put together a full-featured GraphQL server storing data on a PostgreSQL database. PostGraphile harnesses Database-Driven Development to generate and update your Graphql server from your Postgres database schema, automatically detecting changes you make to your schema and updating your server accordingly.</p><p>In their own words:</p><blockquote>PostgreSQL already has amazing authorization and relationship infrastructure, why duplicate that logic in a custom API?</blockquote><p>PostGraphile handles the creation of a performant and standards-compliant GraphQL API layer allowing the developer to focus on the product. This also significantly cuts down on development time.</p><p>PostGraphile also boasts a powerful plugin system with several <a href="https://www.graphile.org/postgraphile/community-plugins/">community developed plugins</a> that can help expand on its functionality in a variety of ways.</p><p>In this article, we’ll take a look at how you can get a full-featured server up and running in minutes with PostGraphile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/1*H2gtGzMOhZbIb665JWuITQ.png" /></figure><h3>Setting up the network to Execute the containers</h3><pre>$ docker network create --driver bridge postgres-network</pre><p>The network will be used for the interaction between the containers.</p><h3>Setting up the Postgres container</h3><p>The following command downloads a <a href="https://hub.docker.com/_/postgres/">PostgreSQL docker image</a>:</p><pre>$ docker pull postgres</pre><p>Run a Docker container using the postgres image. In order to preserve the database and data created in the container, the image must be run with the following parameters:</p><pre>$ docker run --name postgres --network=postgres-network -v /home/user/project/postgresql/data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres</pre><h4>Parameters description:</h4><ul><li><strong>name</strong>: Name of the container. Value is <strong>postgres</strong> in the example above but you can pick the name of your choice.</li><li><strong>network</strong>: Name of the bridge that we created previously for the interaction of the containers.</li><li><strong>v</strong>: Volume, mapping between the project folder on your host machine and the PostgreSQL folder in your container, in format host_folder:container_folder. All the files generated in the container_folder will be copied in the host_folder so that you can preserve and retrieve your data when stopping/restarting the container. Replace the host folder by the destination of your choice. If it does not exist it will be automatically created.</li><li><strong>e</strong>: Environment variables for the container. POSTGRES_PASSWORD sets the password of PostgreSQL superuser. Value is postgres in the example above but you should pick a stronger password of your choice.</li><li><strong>p</strong>: Port, mapping between the port of your host machine and the port of your container, in format host_port:container_port.</li><li><strong>d</strong>: Run the container as a deamon.</li><li><strong>postgres</strong>: Name of the Docker image to use to run the container.</li></ul><p>After this, you should have your Postgres running in the <a href="http://0.0.0.0:5432/">0.0.0.0:5432</a>.</p><h3>Setting up the pgAdmin container</h3><p>The following command downloads a pgAdmin image:</p><pre>$ docker pull dpage/pgadmin4</pre><p>Run the pgAdmin container using the following command:</p><pre>docker run --name pgadmin --network=postgres-network -p 80:80 -e PGADMIN_DEFAULT_EMAIL=admin -e PGADMIN_DEFAULT_PASSWORD=admin -d dpage/pgadmin4</pre><h4>Parameters description:</h4><ul><li><strong>name</strong>: Name of the container. Value is <strong>pgadmin</strong> in the example above but you can pick a name of your choice.</li><li><strong>network</strong>: Name of the bridge that we created previously to for the interaction of the containers.</li><li><strong>e</strong>: Environment variables for the container. PGADMIN_PASSWORD sets the password of pgAdmin superuser, PGADMIN_DEFAULT_EMAIL sets the email of pgAdmin superuser. Value is admin in both examples above.</li><li><strong>p</strong>: Port, mapping between the port of your host machine and the port of your container, in format host_port:container_port.</li><li><strong>d</strong>: Run the container as a deamon.</li><li><strong>dpage/pgadmin4</strong>: Name of the Docker image to use to run the container.</li></ul><p>After this you should have your pgAdmin running in the <a href="http://0.0.0.0/">0.0.0.0:80</a>.</p><h3>Creating the connection between pgAdmin and the database</h3><p>Go to the pgAdmin and login using the default passwords.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2I0A19BBEOTMzMzUT5szNQ.png" /></figure><p>After we create a new server:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*FkfHEYF2QbxjpQ6Z0a5Lnw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*MGdup4nqySNzGyCiwZSgLw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*eIr_eVARhxGZYIrzbRffpQ.png" /></figure><p>and click save. And you will have a similar structure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*MWyBOhOyYTQrEMUN8KJYrQ.png" /></figure><p>So we have our database connected let’s create some relations by clicking in Query Tools you will have the Query Editor:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*WMQsCJd_ZemqH-8xU96zsA.png" /></figure><p>Our database will be like this one :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*pJhiQqFb58JoCbO7HeVyWw.png" /></figure><p>So run the following SQL:</p><pre>CREATE SCHEMA your_schema;</pre><pre>CREATE TABLE your_schema.parent_table (<br>    id SERIAL PRIMARY KEY,<br>    name TEXT,<br>    description TEXT,<br>    created_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,<br>    updated_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP<br>);</pre><pre>COMMENT ON TABLE your_schema.parent_table IS<br>&#39;Provide a description for your parent table.&#39;;</pre><pre>CREATE TABLE your_schema.child_table (<br>    id SERIAL PRIMARY KEY,<br>    name TEXT,<br>    description TEXT,<br>    created_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,<br>    updated_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,<br>    parent_table_id INTEGER NOT NULL REFERENCES your_schema.parent_table(id)<br>);</pre><pre>COMMENT ON TABLE your_schema.child_table IS<br>&#39;Provide a description for your child table.&#39;;</pre><p>Let’s insert some data:</p><pre>INSERT INTO your_schema.parent_table (name, description) VALUES<br>(&#39;Parent name 1&#39;, &#39;Parent description 1&#39;),<br>(&#39;Parent name 2&#39;, &#39;Parent description 2&#39;),<br>(&#39;Parent name 3&#39;, &#39;Parent description 3&#39;);INSERT INTO your_schema.child_table (name, description, parent_table_id) VALUES<br>(&#39;Child name 1&#39;, &#39;Child description 1&#39;, 1),<br>(&#39;Child name 2&#39;, &#39;Child description 2&#39;, 2),<br>(&#39;Child name 3&#39;, &#39;Child description 3&#39;, 3);</pre><p>If you want to see the data:</p><pre>SELECT A.id, A.name, A.description, B.id, B.name, B.description<br>FROM your_schema.parent_table A<br>INNER JOIN your_schema.child_table B ON A.id=B.parent_table_id;</pre><h3>Setting up the PostGraphile image</h3><p>The following command downloads a <a href="https://hub.docker.com/r/graphile/postgraphile/">PostGraphile docker image</a>.</p><pre>$ docker pull graphile/postgraphile</pre><p>In order to connect the PostGraphile container to the PostgreSQL container, the graphile/postgraphile image must be run with the following parameters:</p><pre>$ docker run --name pgql -p 5000:5000 -d graphile/postgraphile --connection postgres://postgres:postgres@host:5432/your_database --schema your_schema --watch</pre><p>Parameters description:</p><ul><li><strong>name</strong>: Name of the container. Value is <strong>pgql</strong> in the example above but you can pick a name of your choice.</li><li><strong>p</strong>: Port, mapping between the port of your host machine and the port of your container, in format host_port:container_port. In the command above the ports are both set to <strong>5000</strong>.</li><li><strong>d</strong>: Run the container as a deamon.</li><li><strong>graphile/postgraphile</strong>: Name of the Docker image to use to run the container.</li><li><strong>connection</strong>: Connection string to the PostgreSQL container and database, in format postgres://db_user:password@host:port/your_database. In the command above the values are set as below:</li><li>db_user: PostgreSQL superuser is <strong>postgres</strong>.</li><li>password: The value you used for the POSTGRES_PASSWORD parameter when running the postgres container.</li><li>host: IP address of your local machine where the postgres container is running. You can find it by typing ifconfig in a terminal window.</li><li>port: Port opened on the postgres container. The port opened in the previous step is <strong>5432</strong> which is the default port for PostgreSQL.</li><li>your_database: Name of the PostgreSQL database.</li><li><strong>schema</strong>: Name of the schema in the PostgeSQL database.</li><li><strong>watch</strong>: The watch flag automatically detects changes done to the database and reload the GraphiQL interface accordingly.</li></ul><h3>Test GraphQL API</h3><p>Navigate to <a href="http://0.0.0.0:5000/graphiql">http://0.0.0.0:5000/graphiql</a> to visualize the API GraphiQL documentation. From there you can execute queries and mutations such as the examples below. The API endpoint itself is <a href="http://0.0.0.0:5000/graphql">http://0.0.0.0:5000/graphql</a>.</p><h3>Query example</h3><pre>query {<br>  allParentTables {<br>    nodes {<br>      id<br>      name<br>      description<br>      childTablesByParentTableId {<br>        nodes {<br>          id<br>          name<br>          description<br>        }<br>      }<br>    }<br>  }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JJUu41IBFkFyqKQKh-1Ckw.png" /></figure><h3>Mutation example</h3><pre>mutation {<br>  createParentTable(<br>    input: {<br>      parentTable: {<br>        name: &quot;Parent name 4&quot;<br>        description: &quot;Parent description 4&quot;<br>      }<br>    }<br>  ) {<br>    parentTable {<br>      id<br>      name<br>      description<br>    }<br>  }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*chtCnOAqo_QAn90N4uR_GA.png" /></figure><p>As you can see you have a functional GraphQL API!</p><p>After understating this concepts you can easily create and develop container using docker-compose files, read more about that in the following article:</p><p><a href="https://levelup.gitconnected.com/setup-postgresql-in-10-seconds-c22f7a1369cf">Setup PostgreSQL in 10 seconds</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5bd1d97b17a" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/setup-postgresql-pgadmin-postgraphile-in-docker-d5bd1d97b17a">Setup PostgreSQL + pgAdmin + PostGraphile in Docker</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>