{"id":18538446,"url":"https://github.com/bryanbill/transit-cannister","last_synced_at":"2025-05-15T02:12:13.932Z","repository":{"id":192241462,"uuid":"686342462","full_name":"bryanbill/transit-cannister","owner":"bryanbill","description":"Logistics application cannister","archived":false,"fork":false,"pushed_at":"2023-09-25T08:52:40.000Z","size":91,"stargazers_count":0,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T07:45:01.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bryanbill.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":"2023-09-02T13:21:19.000Z","updated_at":"2023-09-02T13:47:36.000Z","dependencies_parsed_at":"2023-09-03T17:15:13.191Z","dependency_job_id":"86417d5d-2fb8-4713-99a3-f15fcf7120c7","html_url":"https://github.com/bryanbill/transit-cannister","commit_stats":null,"previous_names":["bryanbill/transit-cannister"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Ftransit-cannister","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Ftransit-cannister/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Ftransit-cannister/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Ftransit-cannister/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryanbill","download_url":"https://codeload.github.com/bryanbill/transit-cannister/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259439,"owners_count":22040821,"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":[],"created_at":"2024-11-06T19:43:29.897Z","updated_at":"2025-05-15T02:12:13.890Z","avatar_url":"https://github.com/bryanbill.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transit - Logistics Application\n\nThis is a simple logistics application built on the DFINITY Internet Computer platform for managing users, orders, shipments, and payments.\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- [Node.js](https://nodejs.org/) installed.\n- [DFINITY Canister SDK](https://sdk.dfinity.org/docs) installed.\n\n## Setup\n\n1. Clone the repository:\n\n   ```shell\n   git clone https://github.com/bryanbill/transit-canister.git\n   cd transit-canister\n   ```\n\n2. Install dependencies:\n\n   ```shell\n    npm install\n    ```\n\n3. Build and Deploy the canister:\n\n   ```shell\n   npm start\n   ```\n\n4. Deploy the frontend:\n\nRunning the following command will deploy the frontend to the Internet Computer. The first\ntime it will take a while to deploy the frontend, but subsequent deploys will be much faster.\n\n   ```shell\n   npm run deploy\n   ```\n\n## Usage\n\nTo use the application, open the URL generated in your browser then follow the steps below to get the core functionality of the application.\n\n1. createUser - Create 3 different users, 2 as of type 'user' and 1 of type 'driver'\n\n2. createUserLocation - Using the 3 users created in 1, create their respective locations\n\n3. createOrder - Creating an order depends on the first two methods, it uses the user data and the location detail to calculate the transport amount `initial_amount`.\n\n4. createShipment - Shipping requires an order id, a driver, a pickup location (sender location) and a delivery location (receiver location).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanbill%2Ftransit-cannister","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryanbill%2Ftransit-cannister","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanbill%2Ftransit-cannister/lists"}