{"id":23705756,"url":"https://github.com/pouchdb/pouchdb-fauxton-logic","last_synced_at":"2025-09-03T11:30:57.928Z","repository":{"id":22132571,"uuid":"25463471","full_name":"pouchdb/pouchdb-fauxton-logic","owner":"pouchdb","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-10T14:26:48.000Z","size":1142,"stargazers_count":7,"open_issues_count":2,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-12T18:02:37.144Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pouchdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-20T11:32:12.000Z","updated_at":"2024-04-12T18:02:37.145Z","dependencies_parsed_at":"2022-07-25T09:02:01.443Z","dependency_job_id":null,"html_url":"https://github.com/pouchdb/pouchdb-fauxton-logic","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/pouchdb%2Fpouchdb-fauxton-logic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pouchdb%2Fpouchdb-fauxton-logic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pouchdb%2Fpouchdb-fauxton-logic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pouchdb%2Fpouchdb-fauxton-logic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pouchdb","download_url":"https://codeload.github.com/pouchdb/pouchdb-fauxton-logic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231874120,"owners_count":18439218,"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-12-30T14:57:04.612Z","updated_at":"2024-12-30T14:57:05.051Z","avatar_url":"https://github.com/pouchdb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pouchdb-fauxton-logic\n=====================\n\n[![Build Status](https://travis-ci.org/pouchdb/pouchdb-fauxton-logic.svg)](https://travis-ci.org/pouchdb/pouchdb-fauxton-logic)\n\nThis repository contains the JavaScript that's added to\n[pouchdb-fauxton-base](https://github.com/marten-de-vries/pouchdb-fauxton-base)\nto make a working version of Fauxton running on top of PouchDB.\n\nIt does that by injecting a mock XHR object in the Fauxton page, which\nconverts all requests made by Fauxton into\n[CouchDB request objects](http://docs.couchdb.org/en/latest/json-structure.html#request-object).\nThese are then converted to PouchDB method calls by\n[pouchdb-route](https://www.npmjs.org/package/pouchdb-route). The result\nis a [CouchDB response object](http://docs.couchdb.org/en/latest/json-structure.html#response-object),\nwhich is returned by the mock xhr object as the response to the request.\n\nDemo\n----\n\nhttps://ma.rtendevri.es/fauxton/\n\nTests\n-----\n\n\tnpm install #first time only\n\tnpm test\n\nBuilding\n--------\n\nFirst, make sure the `/fauxton` directory contains the result of a build\nof [pouchdb-fauxton-base](https://github.com/marten-de-vries/pouchdb-fauxton-base).\n\nThere are different ways to build PouchDB-Fauxton. The basic one is:\n\n\tnpm install #first time only\n\tnpm run build\n\nPut the `/fauxton` directory somewhere on a web server, and that's it!\n\nIf you want to build a version of pouchdb-fauxton for use in a Firefox\nadd-on or Chrome extension, check out their\n[respective](https://github.com/marten-de-vries/pouchdb-fauxton-firefox-addon)\n[repositories](https://github.com/marten-de-vries/pouchdb-fauxton-chrome-extension)\nfor information on that.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpouchdb%2Fpouchdb-fauxton-logic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpouchdb%2Fpouchdb-fauxton-logic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpouchdb%2Fpouchdb-fauxton-logic/lists"}