{"id":16801341,"url":"https://github.com/donatello/wai-rate-limit-postgres","last_synced_at":"2025-04-11T00:31:55.271Z","repository":{"id":40808221,"uuid":"458327955","full_name":"donatello/wai-rate-limit-postgres","owner":"donatello","description":"See README for more info","archived":false,"fork":false,"pushed_at":"2023-04-04T00:07:18.000Z","size":25,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T21:14:05.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/donatello.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-11T20:16:13.000Z","updated_at":"2024-08-25T16:04:57.000Z","dependencies_parsed_at":"2022-09-13T16:11:51.463Z","dependency_job_id":null,"html_url":"https://github.com/donatello/wai-rate-limit-postgres","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donatello%2Fwai-rate-limit-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donatello%2Fwai-rate-limit-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donatello%2Fwai-rate-limit-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donatello%2Fwai-rate-limit-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donatello","download_url":"https://codeload.github.com/donatello/wai-rate-limit-postgres/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322388,"owners_count":21084334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T09:36:30.538Z","updated_at":"2025-04-11T00:31:55.234Z","avatar_url":"https://github.com/donatello.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wai-rate-limit-postgres\n\n[![GitHub CI](https://github.com/donatello/wai-rate-limit-postgres/workflows/CI/badge.svg)](https://github.com/donatello/wai-rate-limit-postgres/actions)\n[![Hackage](https://img.shields.io/hackage/v/wai-rate-limit-postgres.svg?logo=haskell)](https://hackage.haskell.org/package/wai-rate-limit-postgres)\n[![Apache-2.0 license](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)\n\nThis is a companion package to [wai-rate-limit](https://github.com/mbg/wai-rate-limit) that adds support to use PostgreSQL as a backend.\n\nDepending on traffic and latency of PostgreSQL, this backend may or may not be appropriate for you.\n\n# Testing locally with Docker\n\nStart a PostgreSQL docker container in a terminal:\n\n\n```shell\n\n$ docker run --name some-postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 -it --rm postgres -c log_statement=all\n\n```\n\nRun tests in another terminal with:\n\n```shell\n\n$ export PG_DB_URI=postgres://postgres:postgres@localhost:5432/postgres\n$ cabal test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonatello%2Fwai-rate-limit-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonatello%2Fwai-rate-limit-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonatello%2Fwai-rate-limit-postgres/lists"}