chore(pouchdb-server): install and setup pouchdb-server

This commit is contained in:
Christopher Astfalk
2020-07-17 23:51:48 +02:00
parent 26cc0b876e
commit b50340917d
4 changed files with 2604 additions and 80 deletions
+2 -1
View File
@@ -31,5 +31,6 @@ build/
docs/types/
src/network/messages.json
*.map
.hoodie
db/
log.txt
src/styles.css
+9
View File
@@ -0,0 +1,9 @@
{
"couchdb": {
"uuid": "5b9137ce-74a5-41e8-9160-c8d3fb157d05",
"database_dir": "./db"
},
"couch_httpd_auth": {
"allow_persistent_cookies": true
}
}
+2588 -78
View File
File diff suppressed because it is too large Load Diff
+5 -1
View File
@@ -12,7 +12,7 @@
"dev": "npm-run-all -p dev:*",
"predev:app": "npm run build:messages",
"dev:app": "react-scripts start",
"dev:server": "hoodie --inMemory --public build",
"dev:server": "pouchdb-server --config ./config.json",
"dev:style": "postcss src/tailwind.css -o src/styles.css --watch",
"fix:docs": "textlint --fix README.md ./*/*.md ./src/*/*.md",
"fix:style": "standard --fix",
@@ -79,6 +79,10 @@
"npm-run-all": "^4.1.5",
"open-cli": "^6.0.1",
"postcss-cli": "^7.1.1",
"pouchdb-adapter-memory": "^7.2.1",
"pouchdb-authentication": "^1.1.3",
"pouchdb-browser": "^7.2.1",
"pouchdb-server": "^4.2.0",
"react": "^16.13.1",
"react-burger-menu": "^2.7.0",
"react-dom": "^16.13.1",