{"id":20755398,"url":"https://github.com/hrz8/gokomodo-challenge","last_synced_at":"2026-05-23T03:35:28.823Z","repository":{"id":136511665,"uuid":"572599684","full_name":"hrz8/gokomodo-challenge","owner":"hrz8","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-01T00:27:58.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T11:51:56.360Z","etag":null,"topics":["go","golang","rest-api"],"latest_commit_sha":null,"homepage":"https://documenter.getpostman.com/view/6786432/2s8Yt1qovX","language":"Go","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/hrz8.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":"2022-11-30T16:09:38.000Z","updated_at":"2022-12-06T03:04:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"c02bf541-dcd5-4368-a659-ce04e2446692","html_url":"https://github.com/hrz8/gokomodo-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hrz8/gokomodo-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrz8%2Fgokomodo-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrz8%2Fgokomodo-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrz8%2Fgokomodo-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrz8%2Fgokomodo-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrz8","download_url":"https://codeload.github.com/hrz8/gokomodo-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrz8%2Fgokomodo-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33381989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T01:21:08.577Z","status":"online","status_checked_at":"2026-05-23T02:00:05.530Z","response_time":53,"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":["go","golang","rest-api"],"created_at":"2024-11-17T09:25:04.849Z","updated_at":"2026-05-23T03:35:23.815Z","avatar_url":"https://github.com/hrz8.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gokomodo-challenge\nFull API Doc: [DOCUMENTATION](https://documenter.getpostman.com/view/6786432/2s8Yt1qovX) 📖\n\n## What's going on here?\n\n- [Stack used 🥞](#stack-used-)\n- [Before Run ☕️](#before-run-%EF%B8%8F)\n    * [Clone Repo 💾](#clone-repo-)\n- [How to Run 👟](#how-to-run-)\n    * [Run Locally 🏃](#run-locally-)\n    * [Debugging 🕵️‍♂️](#debugging-%EF%B8%8F%EF%B8%8F)\n    * [Dockering 🐳](#dockering-)\n- [How to Use 💻](#how-to-use-)\n\n## Stack used 🥞\n\n- SQLite3\n- Golang\n- Echo Framework\n\n## Before Run ☕️\n\n❗️ This app needed `gcc` to run since sqlite3 library required that. Here is the article about that [here](https://7thzero.com/blog/golang-w-sqlite3-docker-scratch-image).\n\n### Clone Repo 💾\n\nClone this repo using `Download` button or bash 👨‍💻\n\n```bash\n$ git clone https://github.com/hrz8/gokomodo-challenge.git\n```\n\n## How to Run 👟\n\n### Run Locally 🏃\n\nThis command below will compiling the `main.go` and all used packaged into binary file at the first and run the binary right after that.\n\n```bash\n$ make run\n```\n\nIt will running in the localhost with the `3000` port given `http://localhost:3000`.\n\n### Debugging 🕵️‍♂️\n\nDebug app using VsCode Debugger Tool\n\n- Select your debugger to be set as `Launch server`\n- Press `F5` to run the debugging\n- Done!\n\n### Dockering 🐳\n\n- Image Builds (Example)\n\n```bash\n# build as docker image\n$ make docker-build\n# make sure docker image already registered\n$ docker image ls\n# start the container\n# you will automatically see the logs of the app as well\n$ make docker-start\n# check endpoint\n$ curl --location --request POST 'http://localhost:3000/seller/register' \\\n    --header 'Content-Type: application/json' \\\n    --data-raw '{\n        \"name\": \"your name\",\n        \"email\": \"your@email.com\",\n        \"password\": \"password\",\n        \"address\": \"your address\"\n    }'\n```\n\n- Docker Compose (Example)\n\n```bash\n# you will automatically see the logs of the app as well\n$ make docker-compose\n# check endpoint\n$ curl --location --request POST 'http://localhost:3000/seller/register' \\\n    --header 'Content-Type: application/json' \\\n    --data-raw '{\n        \"name\": \"your name\",\n        \"email\": \"your@email.com\",\n        \"password\": \"password\",\n        \"address\": \"your address\"\n    }'\n```\n\n## How to Use 💻\n\nThis application based on RESTful API, so the usage will required to do the HTTP request to each available endpoint below. Full Documentation of how to use each endpoint is in the link right here: [DOCUMENTATION](https://documenter.getpostman.com/view/6786432/2s8Yt1qovX) 📖\n\n## Test 🧪\n\nTest unit.\n\n```bash\n$ make test\n```\n\nTest lint.\n\n```bash\n$ make lint\n```\n\n## Author ℹ️\n\nHirzi Nurfakhrian\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrz8%2Fgokomodo-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrz8%2Fgokomodo-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrz8%2Fgokomodo-challenge/lists"}