{"id":19468874,"url":"https://github.com/robconery/pg-auth","last_synced_at":"2025-02-25T14:27:28.942Z","repository":{"id":28705553,"uuid":"32226057","full_name":"robconery/pg-auth","owner":"robconery","description":"A complete authentication system built in Postgres using schemas and functions","archived":false,"fork":false,"pushed_at":"2016-06-30T22:00:50.000Z","size":34,"stargazers_count":121,"open_issues_count":0,"forks_count":19,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-08T04:51:44.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PLpgSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robconery.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2015-03-14T18:29:11.000Z","updated_at":"2024-12-14T19:00:45.000Z","dependencies_parsed_at":"2022-07-24T16:01:56.512Z","dependency_job_id":null,"html_url":"https://github.com/robconery/pg-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robconery%2Fpg-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robconery%2Fpg-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robconery%2Fpg-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robconery%2Fpg-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robconery","download_url":"https://codeload.github.com/robconery/pg-auth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240682996,"owners_count":19840614,"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-11-10T18:44:40.058Z","updated_at":"2025-02-25T14:27:28.887Z","avatar_url":"https://github.com/robconery.png","language":"PLpgSQL","funding_links":[],"categories":["PLpgSQL"],"sub_categories":[],"readme":"## A Bit of Crazy\n\nI'm fairly certain that the existence of this repo will cause anxiety. It's just a thought exercise - people have asked, so here it is.\n\nThis is the **Postgres Authentication stuff** - meaning it's a full authentication system in a box, in your DB. I flipped out one weekend and decided to see if I could do it... I could, so here it is. \n\nStill a bit raw, but tests are passing nicely. Still need to work on a few things.\n\n## Installation\n\nI tried to make everything as self-contained as I could. So, to install this just crack open `index.js` and set `DB` to whatever local database you want to use.\n\nAnd then...\n\n```\nnpm install\nnode index.js\n```\n\nThis will execute a bulk SQL transaction against your database and will:\n\n - Create a schema called \"membership\"\n - Install `pgcrypto` for hashing passwords\n - Drop in the schema, tables, functions etc needed for this crazy\n\n## Development\n\nIf you want to play around, the test db is called `pg_auth` and I build it on the fly. You can see all the scripts in the `build/src` directory - these get built and dropped into `build/dist`. If all you want is to check stuff out just install as above and have a good time.\n\n## This is Supposed To Be Fun\n\nI like seeing what Postgres can do, and I'm not the world's best programmer so if you see some things that are interesting, have some fun.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobconery%2Fpg-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobconery%2Fpg-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobconery%2Fpg-auth/lists"}