{"id":15777169,"url":"https://github.com/healeycodes/order-tracking-microservice","last_synced_at":"2025-08-31T17:36:05.812Z","repository":{"id":112378195,"uuid":"169132776","full_name":"healeycodes/order-tracking-microservice","owner":"healeycodes","description":"Node/Express/Firebase microservice for sending users an auto-updating delivery tracking page! :hamburger::fries::beer:","archived":false,"fork":false,"pushed_at":"2019-02-24T12:18:48.000Z","size":192,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-05T17:42:58.150Z","etag":null,"topics":["express","firebase","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/healeycodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-04T19:09:49.000Z","updated_at":"2024-09-25T14:31:39.000Z","dependencies_parsed_at":"2023-05-14T04:00:28.667Z","dependency_job_id":null,"html_url":"https://github.com/healeycodes/order-tracking-microservice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Forder-tracking-microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Forder-tracking-microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Forder-tracking-microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Forder-tracking-microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healeycodes","download_url":"https://codeload.github.com/healeycodes/order-tracking-microservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229089206,"owners_count":18018383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["express","firebase","nodejs"],"created_at":"2024-10-04T17:43:02.956Z","updated_at":"2024-12-10T15:36:34.671Z","avatar_url":"https://github.com/healeycodes.png","language":"JavaScript","readme":"[![Build Status](https://travis-ci.org/healeycodes/order-tracking-microservice.svg?branch=master)](https://travis-ci.org/healeycodes/order-tracking-microservice)\n\n## Order Tracking Microservice :hamburger::fries::beer:\n\nNode/Express/Firebase microservice for sending users an auto-updating delivery tracking page, controlled via RESTful API.\n\n- Vanilla JS\n- Mobile first\n- Tested by Mocha\n- Continuous integration by Travis CI\n\n\u003cbr\u003e\n\n### UI\n\n![Desktop](https://github.com/healeycodes/order-tracking-microservice/blob/master/preview.png)\n\n\u003cbr\u003e\n\n### Workflow\n\nCreate an order and get its ID:\n```\nGET: /private/orders\n-\u003e 261df5c4-9d57-4d87-9323-fb995faa6cd5\n```\n\n\u003cbr\u003e\n\nSend that user to `/?orderId=261df5c4-9d57-4d87-9323-fb995faa6cd5`\n\n\u003cbr\u003e\n\nSet their order's stage:\n```\nPUT: /private/orders\n{\n  orderId: 261df5c4-9d57-4d87-9323-fb995faa6cd5,\n  stage: /* 1-5 */\n}\n-\u003e OK\n```\n\n\u003cbr\u003e\n\nTheir tracking page will update without a refresh.\n\n\u003cbr\u003e\n\n### UI on an old iPhone\n\n![Mobile](https://github.com/healeycodes/order-tracking-microservice/blob/master/mobile.png)\n\n\u003cbr\u003e\n\n### Install\n\n`npm install`\n\n### Test\n\n`$env:KEY='./path_to_serviceAccountKey.json'`\n\n`$env:DB='https://your-firebase-test-db.firebaseio.com'`\n\n`npm test`\n\n### Run\n\n`$env:KEY='./path_to_serviceAccountKey.json'`\n\n`$env:DB='https://your-firebase-prod-db.firebaseio.com'`\n\n`npm start`\n\n\u003cbr\u003e\n\nFirebase uses a simple data store:\n\n```\norders: {\n  id: {\n    started: Date.now(),\n    stage: 1 \n  }\n}\n```\n\n\u003cbr\u003e\n\n- MIT License, contributions welcome :heart:\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Forder-tracking-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealeycodes%2Forder-tracking-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Forder-tracking-microservice/lists"}