{"id":22379650,"url":"https://github.com/luispagarcia/serverless-mysql-promise-api","last_synced_at":"2026-04-05T22:01:48.810Z","repository":{"id":124196503,"uuid":"111848923","full_name":"LuisPaGarcia/serverless-mysql-promise-api","owner":"LuisPaGarcia","description":"Example how to create a api connected to mysql, using serverless and promise-mysql","archived":false,"fork":false,"pushed_at":"2023-07-17T18:54:44.000Z","size":10,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-26T19:14:15.419Z","etag":null,"topics":["api","aws","mysql","mysql-promise","promise-mysql","serverless"],"latest_commit_sha":null,"homepage":null,"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/LuisPaGarcia.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":"2017-11-23T20:45:03.000Z","updated_at":"2023-11-07T12:47:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"4cac0978-79b9-4048-ac2d-f96157f30f26","html_url":"https://github.com/LuisPaGarcia/serverless-mysql-promise-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LuisPaGarcia/serverless-mysql-promise-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisPaGarcia%2Fserverless-mysql-promise-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisPaGarcia%2Fserverless-mysql-promise-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisPaGarcia%2Fserverless-mysql-promise-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisPaGarcia%2Fserverless-mysql-promise-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuisPaGarcia","download_url":"https://codeload.github.com/LuisPaGarcia/serverless-mysql-promise-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuisPaGarcia%2Fserverless-mysql-promise-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31451446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","aws","mysql","mysql-promise","promise-mysql","serverless"],"created_at":"2024-12-04T23:10:54.764Z","updated_at":"2026-04-05T22:01:47.909Z","avatar_url":"https://github.com/LuisPaGarcia.png","language":"JavaScript","readme":"# serverless-mysql-promise-api\nExample how to create a api connected to mysql, using serverless and promise-mysql\n\n## Setup\n\nSetup your aws credentials: [How to create AWS credentials](https://www.youtube.com/watch?v=tgb_MRVylWw)\n\nAdd your host, user, password and database name in .env file\n\n```\n$ npm install\n$ serverless config credentials --provider aws --key KEYEXAMPLE10101010 --secret wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\n$ serverless deploy\n```\n\n## Usage\n\nYou can test your endpoint using Postman [Here](https://www.getpostman.com/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluispagarcia%2Fserverless-mysql-promise-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluispagarcia%2Fserverless-mysql-promise-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluispagarcia%2Fserverless-mysql-promise-api/lists"}