{"id":20325183,"url":"https://github.com/igordevlima/lecture-manager-api","last_synced_at":"2026-06-05T04:31:07.570Z","repository":{"id":239642742,"uuid":"799970728","full_name":"igorDevLima/lecture-manager-api","owner":"igorDevLima","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-19T22:29:25.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T14:23:31.668Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/igorDevLima.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":"2024-05-13T13:06:13.000Z","updated_at":"2024-10-19T22:29:28.000Z","dependencies_parsed_at":"2024-05-13T20:02:50.577Z","dependency_job_id":"9e78b266-bbc6-4ae8-93bc-a175734332aa","html_url":"https://github.com/igorDevLima/lecture-manager-api","commit_stats":null,"previous_names":["igordevlima/lecture-manager-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorDevLima%2Flecture-manager-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorDevLima%2Flecture-manager-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorDevLima%2Flecture-manager-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorDevLima%2Flecture-manager-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorDevLima","download_url":"https://codeload.github.com/igorDevLima/lecture-manager-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241828530,"owners_count":20026924,"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":[],"created_at":"2024-11-14T19:39:00.261Z","updated_at":"2026-06-05T04:31:07.541Z","avatar_url":"https://github.com/igorDevLima.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lecture Manager API :microphone:\n\nManage your events and lectures using this amazing API.\n\n## Features\n\n- :sleeping: Dynamic Content Management: Create, update, and delete content without code intervention\n\n- :broom: Easy maintainability and code readability\n\n- :teacher: A wide range of features that allow comprehensive management of event venues, events, lectures, and panelists\n\n- :mag: Validation of all data\n\n## Usage\n\nTo get started with this Strapi project and MySQL database, follow these steps:\n\n### 1. Create a `.env` file at the root of your project and add the necessary configurations:\n\n```shell\n\nNODE_ENV=development\n\nAPI_PORT=3001\n\nMYSQL_HOST=127.0.0.1\nMYSQL_USER=root\nMYSQL_PASSWORD=suasenhadobanco\nMYSQL_PORT=3306\nMYSQL_DB=lecture-manager\n\n```\n\n### 2. Install all project dependencies\n\n```shell\n\nnpm install\n\n```\n\n### 3. Next, start the server\n\n```shell\n\nnpm run start\n\n```\n\n### 4. On the running server, the following CRUD operations will be available\n\n---\n\n## Routes\n\n### :point_right: Location \u003ccode\u003e\u003cb\u003e/location\u003c/b\u003e\u003c/code\u003e\n\n#### Creating, reading, updating and deleting a Location\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003ePOST\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e None\n\n##### Request Body\n\n\u003e | Field | Type   | Required | Description       |\n\u003e | ----- | ------ | -------- | ----------------- |\n\u003e | name  | String | Yes      | The location name |\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                       |\n\u003e | --------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `201`     | `application/json` | `{\"message\": \"Location created!\",\"data\": {\"fieldCount\": 0,\"affectedRows\": 1,\"insertId\": 20,\"info\": \"\",\"serverStatus\": 2,\"warningStatus\": 0,\"changedRows\": 0}}` |\n\u003e | `400`     | `application/json` | `{\"error\": \"\\\"name\\\" is required\"}`                                                                                                                            |\n\u003e | `409`     | `application/json` | `{\"error\": \"Location already exists\"}`                                                                                                                         |\n\n##### Example cURL Command\n\n```bash\ncurl --request POST \\\n--url http://localhost:3001/location \\\n--header 'Content-Type: application/json' \\\n--data '{\n  \"name\": \"Municipal theater\"\n}'\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003eGET\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e None\n\n##### Request Body\n\n\u003e None\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                                                                                                               |\n\u003e | --------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `200`     | `application/json` | ` {\"message\": \"All locations found!\",   \"data\": [{ \"location_id\": 18,   \"location\": \"Municipal theater\",    \"events\": [ {   \"event_id\": 42, \"name\": \"The Best Stand Up Festival\", \"begin_date_time\": \"2024-12-10T18:00:00.000Z\", \"end_date_time\": \"2024-12-19T21:00:00.000Z\"  }   ]}]` |\n\n##### Example cURL Command\n\n```bash\ncurl --request GET \\\n--url http://localhost:3001/location\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003eGET\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/{id}\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e | Field | Type | Required | Description     |\n\u003e | ----- | ---- | -------- | --------------- |\n\u003e | id    | int  | Yes      | The location id |\n\n##### Request Body\n\n\u003e None\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                                                                                            |\n\u003e | --------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `200`     | `application/json` | ` {\"message\": \"Location found!\",   \"data\": [{ \"location_id\": 18,   \"location\": \"Municipal theater\",    \"events\": [ {   \"event_id\": 42, \"name\": \"Anime Brasil\", \"begin_date_time\": \"2024-06-22T21:00:00.000Z\", \"end_date_time\": \"2024-07-01T00:00:00.000Z\"  }   ]}]` |\n\u003e | `204`     | `application/json` | ` {\"error\": \"Location not found\"}`                                                                                                                                                                                                                                  |\n\n##### Example cURL Command\n\n```bash\ncurl --request GET \\\n--url http://localhost:3001/location/18\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003ePUT\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/{id}\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e | Field | Type | Required | Description     |\n\u003e | ----- | ---- | -------- | --------------- |\n\u003e | id    | int  | Yes      | The location id |\n\n##### Request Body\n\n\u003e | Field | Type   | Required | Description       |\n\u003e | ----- | ------ | -------- | ----------------- |\n\u003e | name  | String | Yes      | The location name |\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                              |\n\u003e | --------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- |\n\u003e | `200`     | `application/json` | `{\"message\": \"Location updated!\",\"data\": {\"fieldCount\": 0,\"affectedRows\": 1,\"insertId\": 0,\"info\": \"Rows matched: 1  Changed: 1  Warnings: 0\",\"serverStatus\": 2,\"warningStatus\": 0,\"changedRows\": 1}}` |\n\u003e | `400`     | `application/json` | `{\"error\": \"\\\"name\\\" is required\"}`                                                                                                                                                                   |\n\u003e | `404`     | `application/json` | `{\"error\": \"Location not found\"}`                                                                                                                                                                     |     |\n\n##### Example cURL Command\n\n```bash\ncurl --request PUT \\\n--url http://localhost:3001/location/1 \\\n--header 'Content-Type: application/json' \\\n--data '{\n\t\"name\":\"Quadra\"\n}'\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003eDELETE\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/{id}\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e | Field | Type | Required | Description     |\n\u003e | ----- | ---- | -------- | --------------- |\n\u003e | id    | int  | Yes      | The location id |\n\n##### Request Body\n\n\u003e None\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                                                                                            |\n\u003e | --------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `200`     | `application/json` | ` {\"message\": \"Event deleted!\",   \"data\": { \"fieldCount\": 0, \"affectedRows\": 1, \"insertId\": 0, \"info\": \"\",\"serverStatus\": 2, \"warningStatus\": 0, \"changedRows\": 0}` |\n\u003e | `204`     | `application/json` | ` {\"error\": \"Location not found\"}`                                                                                                                                                                                                                                  |\n\n##### Example cURL Command\n\n```bash\ncurl --request DELETE \\\n--url http://localhost:3001/location/18\n```\n\n\u003c/details\u003e\n\n---\n\n### :point_right: Event \u003ccode\u003e\u003cb\u003e/event\u003c/b\u003e\u003c/code\u003e\n\n#### Creating, reading, updating and deleting a Event\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003ePOST\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e None\n\n##### Request Body\n\n\u003e | Field           | Type   | Required | Description                                       |\n\u003e | --------------- | ------ | -------- | ------------------------------------------------- |\n\u003e | name            | String | Yes      | The event name                                    |\n\u003e | begin_date_time | String | Yes      | start event timestamp. ex.: \"2024-12-19 21:00:00\" |\n\u003e | end_date_time   | String | Yes      | start event timestamp. ex.: \"2024-12-19 21:00:00\" |\n\u003e | location        | String | Yes      | The location name                                 |\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                    |\n\u003e | --------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `201`     | `application/json` | `{\"message\": \"Event created!\",\"data\": {\"fieldCount\": 0,\"affectedRows\": 1,\"insertId\": 20,\"info\": \"\",\"serverStatus\": 2,\"warningStatus\": 0,\"changedRows\": 0}}` |\n\u003e | `400`     | `application/json` | `{\"error\": \"\\\"begin_date_time\\\" is required\"}`                                                                                                              |\n\u003e | `409`     | `application/json` | `\"error\": \"Sorry, the location is already reserved for this date.\"`                                                                                         |\n\n##### Example cURL Command\n\n```bash\ncurl --request POST \\\n--url http://localhost:3001/event \\\n--header 'Content-Type: application/json' \\\n--data '{\n\t\"name\": \"The Best Stand Up Festival\",\n\t\"begin_date_time\": \"2024-12-10 18:00:00\",\n\t\"end_date_time\": \"2024-12-19  21:00:00\",\n\t\"location\": \"Municipal Theater\"\n}'\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003eGET\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e None\n\n##### Request Body\n\n\u003e None\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                                                                                                                                                                                                           |\n\u003e | --------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `200`     | `application/json` | ` {\"message\": \"All events found!\",   \"data\": [{ \"event_id\": 42, \"name\": \"The Best Stand Up Festival\", \"begin_date_time\": \"2024-12-10T18:00:00.000Z\", \"end_date_time\": \"2024-12-19T21:00:00.000Z\",   \"location\": \"Municipal theater\",    \"lectures\": [ {   \"lecture_id\": 21, \"theme\": \"Laugh with Jimmy\", \"begin_date_time\": \"2024-12-12T21:00:00.000Z\", \"panelist_id\": 4  }   ]}]` |\n\n##### Example cURL Command\n\n```bash\ncurl --request GET \\\n--url http://localhost:3001/event\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003eGET\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/{id}\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e | Field | Type | Required | Description  |\n\u003e | ----- | ---- | -------- | ------------ |\n\u003e | id    | int  | Yes      | The event id |\n\n##### Request Body\n\n\u003e None\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                                                                                                                                                                                                           |\n\u003e | --------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `200`     | `application/json` | ` {\"message\": \"All events found!\",   \"data\": [{ \"event_id\": 42, \"name\": \"The Best Stand Up Festival\", \"begin_date_time\": \"2024-12-10T18:00:00.000Z\", \"end_date_time\": \"2024-12-19T21:00:00.000Z\",   \"location\": \"Municipal theater\",    \"lectures\": [ {   \"lecture_id\": 21, \"theme\": \"Laugh with Jimmy\", \"begin_date_time\": \"2024-12-12T21:00:00.000Z\", \"panelist_id\": 4  }   ]}]` |\n\u003e | `204`     | `application/json` | ` {\"error\": \"Event not found\"}`                                                                                                                                                                                                                                                                                                                                                    |\n\n##### Example cURL Command\n\n```bash\ncurl --request GET \\\n--url http://localhost:3001/event/42\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003ePUT\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/{id}\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e | Field | Type | Required | Description  |\n\u003e | ----- | ---- | -------- | ------------ |\n\u003e | id    | int  | Yes      | The event id |\n\n##### Request Body\n\n\u003e | Field           | Type   | Required | Description                                       |\n\u003e | --------------- | ------ | -------- | ------------------------------------------------- |\n\u003e | name            | String | Yes      | The event name                                    |\n\u003e | begin_date_time | String | Yes      | start event timestamp. ex.: \"2024-12-19 21:00:00\" |\n\u003e | end_date_time   | String | Yes      | start event timestamp. ex.: \"2024-12-19 21:00:00\" |\n\u003e | location        | String | Yes      | The location name                                 |\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                              |\n\u003e | --------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- |\n\u003e | `200`     | `application/json` | `{\"message\": \"Event updated!\",\"data\": {\"fieldCount\": 0,\"affectedRows\": 1,\"insertId\": 0,\"info\": \"Rows matched: 1  Changed: 1  Warnings: 0\",\"serverStatus\": 2,\"warningStatus\": 0,\"changedRows\": 1}}` |\n\u003e | `400`     | `application/json` | `{\"error\": \"\\\"name\\\" is required\"}`                                                                                                                                                                   |\n\u003e | `404`     | `application/json` | `{\"error\": \"Event not found\"}`                                                                                                                                                                     |     |\n\n##### Example cURL Command\n\n```bash\ncurl --request PUT \\\n--url http://localhost:3001/event/38 \\\n--header 'Content-Type: application/json' \\\n--data '{\n\t\"name\": \"Laugh with Jimmy\",\n\t\"begin_date_time\": \"2024-12-13 18:00:00\",\n\t\"end_date_time\": \"2024-12-19  21:00:00\",\n\t\"location\": \"Municipal theater\"\n}'\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003eDELETE\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/{id}\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e | Field | Type | Required | Description     |\n\u003e | ----- | ---- | -------- | --------------- |\n\u003e | id    | int  | Yes      | The location id |\n\n##### Request Body\n\n\u003e None\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                                                                                            |\n\u003e | --------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `200`     | `application/json` | ` {\"message\": \"Event deleted!\",   \"data\": { \"fieldCount\": 0, \"affectedRows\": 1, \"insertId\": 0, \"info\": \"\",\"serverStatus\": 2, \"warningStatus\": 0, \"changedRows\": 0}` |\n\u003e | `204`     | `application/json` | ` {\"error\": \"Location not found\"}`                                                                                                                                                                                                                                  |\n\n##### Example cURL Command\n\n```bash\ncurl --request DELETE \\\n--url http://localhost:3001/event/42\n```\n\n\u003c/details\u003e\n\n---\n\n### :point_right: Panelist \u003ccode\u003e\u003cb\u003e/panelist\u003c/b\u003e\u003c/code\u003e\n\n#### Creating, reading, updating and deleting a panelist\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003ePOST\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e None\n\n##### Request Body\n\n\u003e | Field           | Type   | Required | Description                                       |\n\u003e | --------------- | ------ | -------- | ------------------------------------------------- |\n\u003e | first_name            | String | Yes      | The first name of panelist                                    |\n\u003e | last_name            | String | Yes      | The last name of panelist\n\u003e | academic_degree   | String | Yes      | The academic degree of panelsit. ex.: \"phd in physics\"                                 |\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                    |\n\u003e | --------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `201`     | `application/json` | `{\"message\": \"Panelist created!\",\"data\": {\"fieldCount\": 0,\"affectedRows\": 1,\"insertId\": 20,\"info\": \"\",\"serverStatus\": 2,\"warningStatus\": 0,\"changedRows\": 0}}` |\n\u003e | `400`     | `application/json` | `{\"error\": \"\\\"first_name\\\" is required\"}`                                                                                                              |\n\n##### Example cURL Command\n\n```bash\ncurl --request POST \\\n--url http://localhost:3001/panelist \\\n--header 'Content-Type: application/json' \\\n--data '{\n\t\"first_name\": \"Jimmy\",\n\t\"last_name\": \"Cool\",\n\t\"academic_degree\": \"graduate in advertising\"\n}'\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003eGET\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e None\n\n##### Request Body\n\n\u003e None\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                                                                                                                                                                                                           |\n\u003e | --------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `200`     | `application/json` | ` {\"message\": \"All panelists found!\",   \"data\": [{{ \"panelist_id\": 5, \"first_name\": \"Jimmy\",\"last_name\": \"Cool\", \"academic_degree\": \"graduate in advertising\" }}]` |\n\n##### Example cURL Command\n\n```bash\ncurl --request GET \\\n--url http://localhost:3001/panelist\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003eGET\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/{id}\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e | Field | Type | Required | Description  |\n\u003e | ----- | ---- | -------- | ------------ |\n\u003e | id    | int  | Yes      | The panelist id |\n\n##### Request Body\n\n\u003e None\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                                                                                                                                                                                                           |\n\u003e | --------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `200`     | `application/json` | ` {\"message\": \"All panelists found!\",   \"data\": [{{ \"panelist_id\": 5, \"first_name\": \"Jimmy\",\"last_name\": \"Cool\", \"academic_degree\": \"graduate in advertising\" }}]` |\n\u003e | `204`     | `application/json` | ` {\"error\": \"Panelist not found\"}`                                                                                               |\n\n##### Example cURL Command\n\n```bash\ncurl --request GET \\\n--url http://localhost:3001/panelist/5\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003ePUT\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/{id}\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e | Field | Type | Required | Description  |\n\u003e | ----- | ---- | -------- | ------------ |\n\u003e | id    | int  | Yes      | The panelist id |\n\n##### Request Body\n\n\u003e | Field           | Type   | Required | Description                                       |\n\u003e | --------------- | ------ | -------- | ------------------------------------------------- |\n\u003e | first_name            | String | Yes      | The first name of panelist                                    |\n\u003e | last_name            | String | Yes      | The last name of panelist\n\u003e | academic_degree   | String | Yes      | The academic degree of panelsit. ex.: \"phd in physics\" |\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                              |\n\u003e | --------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- |\n\u003e | `200`     | `application/json` | `{\"message\": \"Panelist updated!\",\"data\": {\"fieldCount\": 0,\"affectedRows\": 1,\"insertId\": 0,\"info\": \"Rows matched: 1  Changed: 1  Warnings: 0\",\"serverStatus\": 2,\"warningStatus\": 0,\"changedRows\": 1}}` |\n\u003e | `400`     | `application/json` | `{\"error\": \"\\\"first_name\\\" is required\"}`                                                                               |\n\u003e | `404`     | `application/json` | `{\"error\": \"Panelist not found\"}`                                                                                                                                                                     |     |\n\n##### Example cURL Command\n\n```bash\ncurl --request PUT \\\n--url http://localhost:3001/panelist/5 \\\n--header 'Content-Type: application/json' \\\n--data '{\n\t\"first_name\": \"Jimmy\",\n\t\"last_name\": \"Coolest\",\n\t\"academic_degree\": \"graduate in advertising\"\n}'\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003e\u003ccode\u003eDELETE\u003c/code\u003e \u003ccode\u003e\u003cb\u003e/{id}\u003c/b\u003e\u003c/code\u003e\u003c/summary\u003e\n\n##### Parameters\n\n\u003e | Field | Type | Required | Description     |\n\u003e | ----- | ---- | -------- | --------------- |\n\u003e | id    | int  | Yes      | The panelist id |\n\n##### Request Body\n\n\u003e None\n\n##### Responses\n\n\u003e | HTTP Code | Content-Type       | Response                                                                                                                                                                                                                                                            |\n\u003e | --------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n\u003e | `200`     | `application/json` | ` {\"message\": \"Panelist deleted!\",   \"data\": { \"fieldCount\": 0, \"affectedRows\": 1, \"insertId\": 0, \"info\": \"\",\"serverStatus\": 2, \"warningStatus\": 0, \"changedRows\": 0}` |\n\u003e | `204`     | `application/json` | ` {\"error\": \"Panelist not found\"}`                                                                                                                                                                                                                                  |\n\n##### Example cURL Command\n\n```bash\ncurl --request DELETE \\\n--url http://localhost:3001/panelist/5\n```\n\n\u003c/details\u003e\n\n## Technology\n\n![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge\u0026logo=javascript\u0026logoColor=%23F7DF1E)\n![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)\n![Express.js](https://img.shields.io/badge/express.js-%23404d59.svg?style=for-the-badge\u0026logo=express\u0026logoColor=%2361DAFB)\n![MySQL](https://img.shields.io/badge/mysql-%2300f.svg?style=for-the-badge\u0026logo=mysql\u0026logoColor=white)\n\n### Back-end :coffee:\n\n| Technology                           | Description                                                                                                                                                                |\n| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [**Node.js**](https://nodejs.org/en) | Node.js is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.               |\n| [**Express**](http://expressjs.com/) | Fast, unopinionated, minimalist web framework for Node.js. With a myriad of HTTP utility methods and middleware at your disposal, creating a robust API is quick and easy. |\n| [**MySQL**](https://www.mysql.com/)  | A relational database management system.                                                                                                                                   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figordevlima%2Flecture-manager-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figordevlima%2Flecture-manager-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figordevlima%2Flecture-manager-api/lists"}