{"id":22547590,"url":"https://github.com/firmanjs/express-mongodb-mocha-chai","last_synced_at":"2026-03-01T10:33:48.945Z","repository":{"id":42289408,"uuid":"245924918","full_name":"firmanJS/express-mongodb-mocha-chai","owner":"firmanJS","description":"Boilerplate expressjs with mongose","archived":false,"fork":false,"pushed_at":"2023-01-24T01:34:41.000Z","size":332,"stargazers_count":2,"open_issues_count":11,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T17:07:43.667Z","etag":null,"topics":["docker","docker-compose","expressjs","mocha","mocha-chai","mocha-tests","mongoose","unit-testing"],"latest_commit_sha":null,"homepage":"","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/firmanJS.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}},"created_at":"2020-03-09T02:17:41.000Z","updated_at":"2023-05-25T04:46:12.000Z","dependencies_parsed_at":"2023-01-31T15:01:10.977Z","dependency_job_id":null,"html_url":"https://github.com/firmanJS/express-mongodb-mocha-chai","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/firmanJS/express-mongodb-mocha-chai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanJS%2Fexpress-mongodb-mocha-chai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanJS%2Fexpress-mongodb-mocha-chai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanJS%2Fexpress-mongodb-mocha-chai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanJS%2Fexpress-mongodb-mocha-chai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firmanJS","download_url":"https://codeload.github.com/firmanJS/express-mongodb-mocha-chai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanJS%2Fexpress-mongodb-mocha-chai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29966842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T09:33:09.965Z","status":"ssl_error","status_checked_at":"2026-03-01T09:25:48.915Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["docker","docker-compose","expressjs","mocha","mocha-chai","mocha-tests","mongoose","unit-testing"],"created_at":"2024-12-07T15:12:24.226Z","updated_at":"2026-03-01T10:33:48.922Z","avatar_url":"https://github.com/firmanJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Boilerplate express mongodb\n\n### This app for the Boilerplate express mongodb\n\n[![Maintainability](https://api.codeclimate.com/v1/badges/dfb2ca2f2e1db6fdfab2/maintainability)](https://codeclimate.com/github/firmanJS/express-mongodb-mocha-chai/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/dfb2ca2f2e1db6fdfab2/test_coverage)](https://codeclimate.com/github/firmanJS/express-mongodb-mocha-chai/test_coverage)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/232af6534921479f8212b79dfbe6db2b)](https://www.codacy.com/manual/firmanJS/express-mongodb-mocha-chai?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=firmanJS/express-mongodb-mocha-chai\u0026amp;utm_campaign=Badge_Grade)\n\n### How To run\n\n#### Copy environment variable\n\n```sh\ncp .env-sample .env\n```\n\n#### Run manualy via npm\n\n```sh\nnpm install\n\nnpm run start\n```\n\n#### Fill in the copied environment earlier\n\n```sh\n#MONGO SETUP\nMONGO_DB_URI=mongose://mongodb:27017/mocha-chai # URL MONGOSE\nMONGO_INITDB_ROOT_USERNAME= # username\nMONGO_INITDB_ROOT_PASSWORD= # password\nMONGODB_PORT=27017\n\n#auth mongoDB Management\nME_CONFIG_MONGODB_SERVER=mongose\nME_CONFIG_BASICAUTH_USERNAME=# username\nME_CONFIG_BASICAUTH_PASSWORD=# password\nME_CONFIG_MONGODB_PORT=8081\n\n#image docker\nMNG_DATABASE=mongo-express\nMNG_DB=mongose\n\nAPP_PORT=3000\nJWT_SECRET= # jwt secret key name here\nAPP_ENV=development\n```\n\n#### Run with docker-compose\n\n```sh\ndocker-compose up --build\n```\n\n#### Or run with background process\n\n```sh\ndocker-compose up --build -d\n```\n\n#### Run unit testing\n```sh\ndocker-compose exec apps npm run test\n```\n\n## Enjoy :yum:","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirmanjs%2Fexpress-mongodb-mocha-chai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirmanjs%2Fexpress-mongodb-mocha-chai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirmanjs%2Fexpress-mongodb-mocha-chai/lists"}