{"repo":"pgenie-io/pgenie","free":true,"listed":false,"github":"https://github.com/pgenie-io/pgenie","clone":"git clone https://github.com/pgenie-io/pgenie.git","description":"SQL-first, type-safe PostgreSQL client code generator","language":"Haskell","stars":158,"topics":["cli","compiler","db-first","sql","sql-first"],"license":null,"category":"databases-storage","readme_excerpt":"pGenie pGenie turns PostgreSQL migrations and parameterized queries into fully typed client code. You write plain SQL. pGenie validates it against a real PostgreSQL instance and generates idiomatic, type-safe client libraries for your application. This repository contains the source code for the pgn CLI tool. 📚 Full documentation: pgenie.io/docs Quick Start New to pGenie? The Learn pGenie in Y minutes tutorial gets you up and running fast. Want to explore a working project right away? Check out the demo repository — a ready-to-run project you can clone and experiment with immediately. Installation From a Binary Distribution Pre-built binaries are available for common platforms. See the Installation Guide for instructions. Building from Source Prerequisites - Docker (optional) — Required only when --database-url is not provided. pGenie can spin up a temporary PostgreSQL container automatically, but you can skip Docker entirely by pointing it at a running server with --database-url . Using Stack Stack is the quickest way to build and install pGenie from source. 1. Install Stack 2. Clone the repository and build: Using Cabal Cabal is the preferred option for Haskell developers already familiar with the ecosystem: 1. Install Cabal 2. Clone the repository and build: Using a Running PostgreSQL Server By default, pgn launches a temporary Docker container for each run. You can skip Docker entirely by supplying a PostgreSQL connection string with --database-url : Both URI format ( po","default_branch":null,"files":null,"tree":[],"storefront":"/r/pgenie-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pgenie-io/pgenie/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."}