{"id":18996204,"url":"https://github.com/arpitgo4/pest-detection-app","last_synced_at":"2026-04-06T02:32:20.915Z","repository":{"id":91906133,"uuid":"180397710","full_name":"arpitgo4/pest-detection-app","owner":"arpitgo4","description":"Pest Detection App web interface and API server.","archived":false,"fork":false,"pushed_at":"2019-04-16T10:57:40.000Z","size":299,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T12:19:41.953Z","etag":null,"topics":["docker","docker-compose","expressjs","mongodb","mongoose","nginx","nodejs","reactjs","redux"],"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/arpitgo4.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":"2019-04-09T15:31:23.000Z","updated_at":"2019-04-16T10:57:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"12822321-92b9-45c5-a0b6-88de39d348b4","html_url":"https://github.com/arpitgo4/pest-detection-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arpitgo4/pest-detection-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpitgo4%2Fpest-detection-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpitgo4%2Fpest-detection-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpitgo4%2Fpest-detection-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpitgo4%2Fpest-detection-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arpitgo4","download_url":"https://codeload.github.com/arpitgo4/pest-detection-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpitgo4%2Fpest-detection-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31457588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","mongodb","mongoose","nginx","nodejs","reactjs","redux"],"created_at":"2024-11-08T17:34:19.834Z","updated_at":"2026-04-06T02:32:20.900Z","avatar_url":"https://github.com/arpitgo4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Pest Detection App\nPest Detection app with api server in node.js, mongodb as db and web client in react.js.\n\n## Project Structure\n```\n        .\n        ├── api-gateway                 #  Nginx Api Gateway\n        ├── client                      #  React/Redux Web Client\n        ├── db                          #  MongoDB data directory\n        ├── deployment                  #  Deployment config\n        |   ├── development             #  Docker-compose development config\n        |   └── production              #  Docker-Compose production config\n        ├── server                      #  Node.js API Server\n        └── README.md                   #  This file\n```\n\n## API Sheet\n```\n## Postman api collection\nhttps://documenter.getpostman.com/view/401954/S1EL31YD\n\n```\n\n## Environment Variables\n```\n\n## Environment variables are defined in the deployment/development/docker-compose.yml\n## Environment variables are needed for successfull startup of the server\n\nSERVER_PORT=8080                        # Port number for server to listen\nMONGO_HOST=mongo:27017                  # MongoDB connection url\nMONGO_DB_NAME=pest-detection-app        # MongoDB database name\nJWT_SECRET=U5ZnTwt0tpmUHAVhES51iXM52mFSbxsOojFs5JNnZUv082ZACjnsuRNklomA\n                                        # JWT Secret\nJWT_HEADER=x-token                      # JWT Header for REST APIs\nREDIS_HOST=redis:6379                   # Redis connection url\nPOST_PEST_API_RATE_LIMIT=5              # Api Rate Limit config, 5 requests per 10 second\n\n```\n\n\n## Development\n```\n# Start project in development mode with hot code loading,\ncd deployment/development \u0026\u0026 docker-compose up --build [-d]\n\n# See logs for a container (service in docker-compose)\ncd deployemnt/development \u0026\u0026 docker-compose logs --follow \u003cservice_name\u003e\n\n# Get container (service) shell access\ncd deployment/development \u0026\u0026 docker-compose exec \u003cservice_name\u003e sh\n\n# Enjoy developing :)\n```\n\n## Production\n```\n# Start project in production mode,\ncd deployment/production \u0026\u0026 docker-compose up --build\n\n# Open web browser at http://localhost/api/v1/health\n# You will see a response : {}, response_status: 200\n```\n\n\n## Feedback\nIn case of any query or feedback, please feel free to connect via\n* arpit.go4@gmail.com (Arpit Goyal)\n\nOr, open an issue at github.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farpitgo4%2Fpest-detection-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farpitgo4%2Fpest-detection-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farpitgo4%2Fpest-detection-app/lists"}