{"repo":"henvic/pgxtutorial","free":true,"listed":false,"github":"https://github.com/henvic/pgxtutorial","clone":"git clone https://github.com/henvic/pgxtutorial.git","description":"Example of how to build a web service using Go, PostgreSQL, and gRPC","language":"Go","stars":135,"topics":["go","golang","postgres","postgresql"],"license":"MIT","category":"databases-storage","readme_excerpt":"pgxtutorial This is an accompanying repository of the article Back to basics: Writing an application using Go and PostgreSQL by Henrique Vicente. Feel free to open issues to ask any questions or comment on anything. Environment variables pgxtutorial uses the following environment variables: Environment Variable Description - - PostgreSQL environment variables Please check https://www.postgresql.org/docs/current/libpq-envars.html INTEGRATION TESTDB When running go test, database tests will only run if INTEGRATION TESTDB=true OTEL EXPORTER When OTEL EXPORTER=stdout or OTEL EXPORTER=otel, telemetry is exported tl;dr To play with it install Go on your system. You'll need to connect to a PostgreSQL database. You can check if a connection is working by calling psql . To run tests: To run application: You could also to just get the pgxtutorial binary. See also pgtools pgq","default_branch":null,"files":null,"tree":[],"storefront":"/r/henvic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/henvic/pgxtutorial/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}