{"id":13710403,"url":"https://github.com/parzibyte/api_rest_go_mysql","last_synced_at":"2026-04-10T23:12:49.846Z","repository":{"id":101792854,"uuid":"302219445","full_name":"parzibyte/api_rest_go_mysql","owner":"parzibyte","description":"Creación de una API REST con Golang/Go y MySQL","archived":false,"fork":false,"pushed_at":"2020-10-11T14:28:48.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-13T00:06:22.794Z","etag":null,"topics":["api","go","golang","mysql","rest"],"latest_commit_sha":null,"homepage":"https://parzibyte.me/blog/2020/10/12/go-api-rest-mysql/","language":"Go","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/parzibyte.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":"2020-10-08T03:13:03.000Z","updated_at":"2024-05-13T00:06:25.450Z","dependencies_parsed_at":null,"dependency_job_id":"4145ada8-4490-4865-870b-769cac1f652e","html_url":"https://github.com/parzibyte/api_rest_go_mysql","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/parzibyte%2Fapi_rest_go_mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parzibyte%2Fapi_rest_go_mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parzibyte%2Fapi_rest_go_mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parzibyte%2Fapi_rest_go_mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parzibyte","download_url":"https://codeload.github.com/parzibyte/api_rest_go_mysql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637102,"owners_count":20485446,"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":["api","go","golang","mysql","rest"],"created_at":"2024-08-02T23:00:55.612Z","updated_at":"2025-10-23T21:51:36.852Z","avatar_url":"https://github.com/parzibyte.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# api_rest_go_mysql\n Creación de una API REST con Golang/Go y MySQL\n\n## Installation\n* Clone this repo\n* Install the dependencies with:\n```\ngo get github.com/go-sql-driver/mysql\ngo get github.com/gorilla/mux\ngo get github.com/joho/godotenv\n```\n* Create a database in MySQL\n* Create a file called **.env** based on **.env.example**\n* Configure credentials in **.env**\n* In the database (you can use phpmyadmin or console) create\nthe tables according to **scheme.sql**\n* Compile with `go build`\n* Execute the exe, normally it will be **api_rest_go_mysql.exe** \n(if Windows firewall ask, give it permission, no problem)\n    * Optionally if you ask me how I compile on Windows and format my code,\nthe command is `gofmt -w . \u0026\u0026 go build \u0026\u0026 api_rest_go_mysql`\n* Now you can test the API with postman or anything else. \nIf you didn't make changes, it will be on\nlocalhost:8000\n\n## About\nCreated by Parzibyte (https://parzibyte.me/blog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparzibyte%2Fapi_rest_go_mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparzibyte%2Fapi_rest_go_mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparzibyte%2Fapi_rest_go_mysql/lists"}