- Create
docker-compose.yml
version: '3'
services:
couchserver:
image: couchdb
restart: always
ports:
- '5984:5984'
environment:
- COUCHDB_USER=admin
- COUCHDB_PASSWORD=YOURPASSWORD
volumes:
- ./dbdata:/opt/couchdb/data
-
Run docker compose
docker-compose up -d
-
Access CouchDB admin
http://localhost:5984/_utils/
-
Create
_users
Database

-
Clone project
https://github.com/jinyoung4478/react-pouchdb.git
-
Install dependencies: yarn
-
Start the development server: yarn dev