{"id":15295173,"url":"https://github.com/themost-framework/pg","last_synced_at":"2026-03-08T04:31:42.194Z","repository":{"id":39829074,"uuid":"464190951","full_name":"themost-framework/pg","owner":"themost-framework","description":"MOST Web Framework PostgreSQL Data Adapter ","archived":false,"fork":false,"pushed_at":"2025-11-02T06:18:14.000Z","size":656,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-02T08:21:14.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/themost-framework.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-27T16:30:31.000Z","updated_at":"2025-11-02T06:16:40.000Z","dependencies_parsed_at":"2022-08-30T15:10:26.474Z","dependency_job_id":"c5333108-0711-4446-ab37-01096c71572b","html_url":"https://github.com/themost-framework/pg","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/themost-framework/pg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fpg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fpg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fpg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fpg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/themost-framework","download_url":"https://codeload.github.com/themost-framework/pg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fpg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30245219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09-30T17:08:56.362Z","updated_at":"2026-03-08T04:31:42.175Z","avatar_url":"https://github.com/themost-framework.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/@themost%2Fpg.svg)](https://www.npmjs.com/package/@themost%2Fpg)\n![Dependency status for latest release](https://img.shields.io/librariesio/release/npm/@themost/pg)\n![GitHub top language](https://img.shields.io/github/languages/top/themost-framework/pg)\n[![License](https://img.shields.io/npm/l/@themost/pg)](https://github.com/themost-framework/themost/blob/master/LICENSE)\n![GitHub last commit](https://img.shields.io/github/last-commit/themost-framework/pg)\n![GitHub Release Date](https://img.shields.io/github/release-date/themost-framework/pg)\n[![npm](https://img.shields.io/npm/dw/@themost/query)](https://www.npmjs.com/package/@themost%2Fpg)\n\n![MOST Web Framework Logo](https://github.com/themost-framework/common/raw/master/docs/img/themost_framework_v3_128.png)\n\n@themost/pg\n===========\n\nMost Web Framework PostgreSQL Adapter\n\nLicense: [BSD-3-Clause](https://github.com/themost-framework/pg/blob/master/LICENSE)\n\n## Installation\n\n    npm install @themost/pg\n\n## Usage\n\nRegister PostgreSQL adapter on app.json as follows:\n\n    \"adapterTypes\": [\n            ...\n            { \"name\":\"PostgreSQL Data Adapter\", \"invariantName\": \"postgres\", \"type\":\"@themost/pg\" }\n            ...\n        ],\n    adapters: {\n        \"postgres\": { \"name\":\"local-db\", \"invariantName\":\"postgres\", \"default\":true,\n            \"options\": {\n              \"host\":\"localhost\",\n              \"post\":5432,\n              \"user\":\"user\",\n              \"password\":\"password\",\n              \"database\":\"db\"\n            }\n    }\n} \n\n## Testing\n\nClone project and create a `.env` file to set testing environment variables\n\n    DB_HOST=localhost\n    DB_PORT=5432\n    DB_USER=postgres\n    DB_PASSWORD=pass\n    NODE_ENV=development\n\n(*) DB_PASSWORD is optional\n\nIf you are using [Gitpod](https://www.gitpod.io/) create a `.env` file and set `DB_USER=gitpod`\n\n    DB_HOST=localhost\n    DB_PORT=5432\n    DB_USER=gitpod\n    NODE_ENV=development\n\nExecute `npm test`. \n\nThe operation will create a new test database `test_db` with sample data that is going to be used for testing adapter.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Fpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemost-framework%2Fpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Fpg/lists"}