{"id":25120264,"url":"https://github.com/rochimfn/tbd-client-webserver","last_synced_at":"2026-05-13T07:02:11.674Z","repository":{"id":133689441,"uuid":"431008104","full_name":"rochimfn/tbd-client-webserver","owner":"rochimfn","description":"Client custom log shipping","archived":false,"fork":false,"pushed_at":"2021-12-17T17:03:34.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T14:51:38.038Z","etag":null,"topics":["log-shipping","nodejs","sql-server"],"latest_commit_sha":null,"homepage":"https://github.com/rochimfn/tbd-log-shipping","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/rochimfn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-23T07:50:02.000Z","updated_at":"2021-12-17T17:03:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"cda028d1-5b2a-4386-b7f5-39fc4f9e81f1","html_url":"https://github.com/rochimfn/tbd-client-webserver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rochimfn/tbd-client-webserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rochimfn%2Ftbd-client-webserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rochimfn%2Ftbd-client-webserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rochimfn%2Ftbd-client-webserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rochimfn%2Ftbd-client-webserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rochimfn","download_url":"https://codeload.github.com/rochimfn/tbd-client-webserver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rochimfn%2Ftbd-client-webserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32971672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["log-shipping","nodejs","sql-server"],"created_at":"2025-02-08T05:29:04.301Z","updated_at":"2026-05-13T07:02:11.669Z","avatar_url":"https://github.com/rochimfn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Client custom log shipping\n\n## Panduan Pemasangan\n\n### Prerequisite\n\n* [Git](https://git-scm.com/downloads)\n* [NodeJs](https://nodejs.org/en/download/) versi v14 atau lebih tinggi\n* [Yarn](https://classic.yarnpkg.com/lang/en/docs/install/) versi 1.22\n* [SQL Server](https://www.microsoft.com/en-us/sql-server/sql-server-downloads) versi 2019 Express edition\n\n\n### Mulai Pemasangan\n\n1. Salin repositori\n\n```bash\ngit clone https://github.com/rochimfn/tbd-client-webserver.git\n```\n\n2. Masuk ke direktori\n\n```bash\ncd tbd-client-webserver\n```\n\n3. Pasang dependensi\n\n```bash\nyarn \n```\n\n4. Konfigurasi `.env`\n\n```bash\ncp .env.example .env #bash atau powershell\ncopy .env.example .env #cmd\n```\n\nIsi konfigurasi dengan kredensial sqlserver. Contohnya sebagai berikut:\n\n**Pastikan SQL Server dan aplikasi ini memiliki akses baca tulis direktori `DIR_BACKUP`**\n```env\nPASSWORD='password'\nTOKEN='qwertyuiopasdfghjklzxcvbnm123456'\nMSSQL_HOST='127.0.0.1'\nMSSQL_PORT=1432\nMSSQL_USERNAME='admin'\nMSSQL_PASSWORD='password'\nDIR_BACKUP='C:\\rc_backup_client\\'\n```\n\n5. Menyiapkan akun pengguna\n\n```\nyarn setup\n```\n\nPengguna default:\n  * Email: `rochim.noviyan@gmail.com`\n  * Password: `password` (atau menyesuaikan nilai konfigurasi `PASSWORD` pada `.env`)\n\n\n6. Jalankan web server\n\n\n```\nyarn start\n```\n\nTunggu sebentar dan web client dapat diakses melalui port 3000.\n\nServer dapat dimatikan dengan menekan tombol `CTRL+C`\n\n7. Jalankan web server sebagai daemon\n\n\n```\nyarn global add pm2\npm2 start src/index.js --name \"rc-client\"\n```\n\nGunakan perintah berikut untuk menghentikan daemon\n\n```\npm2 stop \"rc-client\"\n```\n\n\n### Restore Script\n\nRestore script dapat ditemukan pada `scripts/restore.js`. \nScript dapat dijalankan dengan perintah berikut:\n\n```\nnode scripts/restore.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frochimfn%2Ftbd-client-webserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frochimfn%2Ftbd-client-webserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frochimfn%2Ftbd-client-webserver/lists"}