Skip to content

VladimirCores/Demo-SPA-Nuxt-Vuetify-CouchDB-Books

Repository files navigation

Demo-SPA-Nuxt-Vuetify-CouchDB-Books

Setup:

  1. yarn
  2. yarn dev
  3. Navigate to http://127.0.0.1:5984/_utils
  4. Create admin (Go to "Admin Party")
  5. Go to "Databases" and open "_users"
  6. Then "All Documents -> (+) -> New Doc" and add new user:
{
  "_id": "org.couchdb.user:geom",
  "name": "geom",
  "roles": [
    "user",
    "reader"
  ],
  "type": "user",
  "password_scheme": "pbkdf2",
  "iterations": 10,
  "derived_key": "6e35c34726a792f3851cda6d8909e502bc998a15",
  "salt": "482067994aee02e9bdde9cbabe0bfa2f"
}
  1. "Databases -> Create Database" name it "books"
  2. Open newly created database "books", go to "Permission", then "Roles", type "user" and "Add Role".
  3. Open running application http://localhost:3000/ use username - geom, password 987
  4. ENJOY

You can also run CouchDB in Docker / Podman container, here is how: https://hub.docker.com/_/couchdb

P.S> Books data should have fields: title and author, and you can get JSON array from here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published