{"id":21258096,"url":"https://github.com/cuongndc9/express-mysql-restful","last_synced_at":"2025-09-02T20:51:14.336Z","repository":{"id":116045265,"uuid":"170977547","full_name":"cuongndc9/express-mysql-restful","owner":"cuongndc9","description":"💉 Build a RESTful API using Express and MySQL.","archived":false,"fork":false,"pushed_at":"2025-03-07T19:24:57.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-07T20:26:08.384Z","etag":null,"topics":["103cuong","express","expressjs","mysql","rest","rest-api","restful-api"],"latest_commit_sha":null,"homepage":"","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/cuongndc9.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}},"created_at":"2019-02-16T07:51:49.000Z","updated_at":"2025-03-07T19:25:02.000Z","dependencies_parsed_at":"2024-03-05T09:09:43.685Z","dependency_job_id":null,"html_url":"https://github.com/cuongndc9/express-mysql-restful","commit_stats":null,"previous_names":["cuonginspire/express-mysql-restful","cuongnd9/express-mysql-restful","cuongndc9/express-mysql-restful"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuongndc9%2Fexpress-mysql-restful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuongndc9%2Fexpress-mysql-restful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuongndc9%2Fexpress-mysql-restful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuongndc9%2Fexpress-mysql-restful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuongndc9","download_url":"https://codeload.github.com/cuongndc9/express-mysql-restful/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243691397,"owners_count":20331962,"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":["103cuong","express","expressjs","mysql","rest","rest-api","restful-api"],"created_at":"2024-11-21T04:07:11.518Z","updated_at":"2025-08-22T23:18:16.532Z","avatar_url":"https://github.com/cuongndc9.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-mysql-restful\n\n\u003e 💉 Build a RESTful API using Express and MySQL.\n\n## Install\n\nInstall dependencies\n```\n$ npm i\n```\nCreate `.env` file\n```\nPORT=\u003cYour Post\u003e\nDB_HOST=\u003cYour Host\u003e\nDB_USER=\u003cYour User\u003e\nDB_PASSWORD=\u003cYour Password\u003e\nDB_DATABASE=\u003cYour Database\u003e\n```\n\n## Usage\n\nOne line to run\n```\n$ npm start\n```\n\n## API\n\n| Route            | HTTP method | Description                 |\n|------------------|-------------|-----------------------------|\n| /api/cats        | `GET`       | Get all the cats.           |\n| /api/cats        | `POST`      | Create a cat.               |\n| /api/cats/:catId | `GET`       | Get a single cat.           |\n| /api/cats/:catId | `PUT`       | Update a cat with new info. |\n| /api/cats/:catId | `DELETE`    | Delete a cat.               |\n\n## License\n\n![](https://img.shields.io/github/license/cuongw/express-mysql-restful.svg?style=flat-square)\n\n\n\u003c!-- INSPIRATIONAL_QUOTE_START --\u003e\n\u003e \"Don't let yesterday take up too much of today.\" - Will Rogers\n\u003c!-- INSPIRATIONAL_QUOTE_END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuongndc9%2Fexpress-mysql-restful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuongndc9%2Fexpress-mysql-restful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuongndc9%2Fexpress-mysql-restful/lists"}