https://github.com/firmanjs/tasklist-efishery
offline first app, app for handle if offline connectiion using pouchdb and couchdb
https://github.com/firmanjs/tasklist-efishery
couchdb docker docker-compose expressjs pouchdb
Last synced: 12 days ago
JSON representation
offline first app, app for handle if offline connectiion using pouchdb and couchdb
- Host: GitHub
- URL: https://github.com/firmanjs/tasklist-efishery
- Owner: firmanJS
- Created: 2020-10-09T06:15:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T09:29:07.000Z (over 5 years ago)
- Last Synced: 2025-03-28T09:11:37.689Z (about 1 year ago)
- Topics: couchdb, docker, docker-compose, expressjs, pouchdb
- Language: JavaScript
- Homepage:
- Size: 104 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Efishery Offline First App Tasklist
## Cara Menggunakan
#### copy environment variable
copy .env-sample melalui terminal
```sh
cp .env-sample .env
```
#### isi environment variable
```sh
APP_PORT=2000
TZ=Asia/Jakarta
COUCHDB_URL= #your ip and port couchdb/efishery_task
USERNAME=#username couchdb
PASSWORD=#password couchdb
```
#### runing manual
menjalankan via npm
```sh
# install package
npm install
# link command
npm link .
# menjalankan app
npm run start
# menampilkan command line yang tersedia
npm run efishery-task help
# menjalankan unit tetsing
npm run test
```
#### run menggunakan docker-compose
```sh
docker-compose up --build
```
#### atau run menggunakan background process
```sh
docker-compose up --build -d
```
#### execution npm with container docker
```sh
# link command
docker-compose exec tasklist npm link
# menampilkan command line yang tersedia
docker-compose exec tasklist efishery-task
# menjalankan unit testing
docker-compose exec tasklist npm run test
```
## Dokumentasi API
in file `documentation.json` export to your postman