{"id":15187365,"url":"https://github.com/albugowy15/basketfood-api","last_synced_at":"2026-02-04T13:12:06.409Z","repository":{"id":134559741,"uuid":"586506139","full_name":"albugowy15/basketfood-api","owner":"albugowy15","description":"A public REST-API for food order system built with Gin, Gorm, and PostgreSQL","archived":false,"fork":false,"pushed_at":"2023-11-30T03:48:37.000Z","size":10324,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T08:31:07.402Z","etag":null,"topics":["gin-gonic","golang","gorm","postgresql","rest-api"],"latest_commit_sha":null,"homepage":"","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/albugowy15.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-01-08T11:48:27.000Z","updated_at":"2023-01-25T01:25:52.000Z","dependencies_parsed_at":"2024-06-21T00:56:38.880Z","dependency_job_id":null,"html_url":"https://github.com/albugowy15/basketfood-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/albugowy15/basketfood-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albugowy15%2Fbasketfood-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albugowy15%2Fbasketfood-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albugowy15%2Fbasketfood-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albugowy15%2Fbasketfood-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albugowy15","download_url":"https://codeload.github.com/albugowy15/basketfood-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albugowy15%2Fbasketfood-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505784,"owners_count":23618971,"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":["gin-gonic","golang","gorm","postgresql","rest-api"],"created_at":"2024-09-27T18:20:34.495Z","updated_at":"2026-02-04T13:12:06.373Z","avatar_url":"https://github.com/albugowy15.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# basketfood-api\n\nA public API build with GORM and Gin Web Framework\n\n## PDM\n![BasketFood-2023-01-08_17-46](https://user-images.githubusercontent.com/49820990/214455894-72c8fabc-3e2f-4973-9849-762923c9799f.png)\n\n## How to run this project\n### 1. Clone this project\n```sh\ngit clone https://github.com/albugowy15/basketfood-api.git\n```\n### 2. Use your own database\nThis API using PostgreSQL database. You can create your own database on your local machine, then save all its credential to .env folder.\n\nCreate `.env` file inside root directory, fill this variable with your own database credentials\n```.env\nDB_HOST=\u003cyour database host\u003e\nDB_PASSWORD=\u003cyour database password\u003e\nDB_USER=\u003cyour database user\u003e\nDB_NAME=\u003cyour database name\u003e\nDB_PORT=\u003cyour database port\u003e\n```\n### 3. Install all dependencies\nInstall all dependencies or library used in this project with command\n```sh\ngo get -u -v ./... \n```\n### 4. Run the project\nRun this project with command\n```sh\ngo run main.go\n```\nYou can see that your project is running at `http://localhost:8080`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbugowy15%2Fbasketfood-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbugowy15%2Fbasketfood-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbugowy15%2Fbasketfood-api/lists"}