{"id":18556208,"url":"https://github.com/rsilveira65/conceptainc-tha","last_synced_at":"2026-04-19T19:32:35.291Z","repository":{"id":90349370,"uuid":"175487082","full_name":"rsilveira65/conceptainc-tha","owner":"rsilveira65","description":"PHP and React Developer Test","archived":false,"fork":false,"pushed_at":"2019-03-21T10:16:44.000Z","size":10028,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-15T13:11:27.643Z","etag":null,"topics":["docker","php7","react","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/rsilveira65.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":"2019-03-13T19:37:07.000Z","updated_at":"2021-09-11T00:06:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b5170bd-e438-462b-8336-d587eb2ae3c0","html_url":"https://github.com/rsilveira65/conceptainc-tha","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rsilveira65/conceptainc-tha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsilveira65%2Fconceptainc-tha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsilveira65%2Fconceptainc-tha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsilveira65%2Fconceptainc-tha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsilveira65%2Fconceptainc-tha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsilveira65","download_url":"https://codeload.github.com/rsilveira65/conceptainc-tha/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsilveira65%2Fconceptainc-tha/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32020542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","php7","react","wordpress"],"created_at":"2024-11-06T21:29:24.712Z","updated_at":"2026-04-19T19:32:35.269Z","avatar_url":"https://github.com/rsilveira65.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# conceptainc\n\n![](https://i.imgur.com/VxQQJJt.png)\n\n\n## PHP and React Developer Test\nYou will need to create a WordPress plugin. Using a shortcode, this plugin will render a React app, also created by you (you can use\nhttps://github.com/facebook/create-react-app to create the app). The React App needs to do an ajax call to your plugin (You should create an\nendpoint in your plugin) that will call another API (Service API) (described below) then render a list with the follow items (code, destination, name\nand all photos with type “s”). Feel free to list it the way you want. We expect you to also pay attention to the layout.\n\nPurpose of Code Test\n- Code Organization\n- Best Practices / Standards\n- Problem Solving\n- Familiarity with REST APIs and the respective programming language.\n\nDelivery\n• API - Public your code so we can see it online.\n• Code - Zip all project files and send to leo@conceptsol.com\nTo get the data you need to show, make POST to [http://travellogix.api.test.conceptsol.com/api/Ticket/Search](http://travellogix.api.test.conceptsol.com/api/Ticket/Search) using the payload below:\n```json\n{\n    \"Language\": \"ENG\",\n    \"Currency\": \"USD\",\n    \"destination\": \"MCO\",\n    \"DateFrom\": \"11/26/2016\",\n    \"DateTO\": \"11/29/2016\",\n    \"Occupancy\": {\n    \"AdultCount\": \"1\",\n    \"ChildCount\": \"1\",\n    \"ChildAges\": [\"10\"]\n  }\n}\n```\n\nDon't forget to add the application/json as the Content-Type in the request headers.\nAnother required parameter in the request header is an Authorization token. The Service API is protected by login, so before the first call you\nwill need to ensure that you are authorized to that.\nThe token is valid for 24 hours after created\n```\nRequest Header Example:\nContent-Type: application/json\nAuthorization: Bearer\nxf5XWHv01N5CDRFBCzC9bUc5fb-a4-wiTxQHzjhJyMi4jt5ZzqbXZw0TCOIVjT59yReLdV-BXm\nWlnvAvjd_ny_brH2PA6E7BF6fHeAj0PMkALN8ncEbgbZB3Vw5NssaM0nnlacjZuPTh2Wdn_8IE\nsPeYTQx1_8pTU_vw3pUOtLedJY87BifhWa_2A3zLYOt3uboDVTN-peO5yAF_x5uRFyJbUZN_c2\nHosk7Qmfn7NSCN47Gbb4FacTodIlmpmjYjjI98rpQeaSM8b5_foJrjAFmiob-P-V1cJij2AG1T\n7FsTzz4FbXGuoSbrdq2LqOft9W25A7IjVZBKqz-UBL_Fltnlc1f_fiMvOfszNLWbO87PYaqW7o\nva8fdj2p5KyHDo2jB6F2trLPLBalKKN-5OuMHUp_v-lPXk6b64F3vMwINDgpzSQa-80_wln_1b\nlE2MChwb3nbSfA2_9dR1XKDFtehWLWP03lxwGIiM2vS_MuU\n\n```\n\nTo get this Authorization token, make a POST request to: http://travellogix.api.test.conceptsol.com/Token passing this RAW data (no headers\nneeded):\n\ngrant_type=password\u0026username=test1%40test2.com\u0026password=Aa234567%21\nNotice the token_type in response, this will be joined with the access_token to form the Authorization parameters in the header of the next\nrequests. (edited)\n\n```json\n{\n    \"access_token\":\n    \"xf5XWHv01N5CDRFBCzC9bUc5fb-a4-wiTxQHzjhJyMi4jt5ZzqbXZw0TCOIVjT59yReLdV-BX\n    mWlnvAvjd_ny_brH2PA6E7BF6fHeAj0PMkALN8ncEbgbZB3Vw5NssaM0nnlacjZuPTh2Wdn_8I\n    EsPeYTQx1_8pTU_vw3pUOtLedJY87BifhWa_2A3zLYOt3uboDVTN-peO5yAF_x5uRFyJbUZN_c\n    2Hosk7Qmfn7NSCN47Gbb4FacTodIlmpmjYjjI98rpQeaSM8b5_foJrjAFmiob-P-V1cJij2AG1\n    T7FsTzz4FbXGuoSbrdq2LqOft9W25A7IjVZBKqz-UBL_Fltnlc1f_fiMvOfszNLWbO87PYaqW7\n    ova8fdj2p5KyHDo2jB6F2trLPLBalKKN-5OuMHUp_v-lPXk6b64F3vMwINDgpzSQa-80_wln_1\n    blE2MChwb3nbSfA2_9dR1XKDFtehWLWP03lxwGIiM2vS_MuU\",\n    \"token_type\": \"bearer\",\n    \"expires_in\": 86399,\n    \"userName\": \"test@test.com\",\n    \".issued\": \"Mon, 02 Feb 2015 23:19:05 GMT\",\n    \".expires\": \"Tue, 03 Feb 2015 23:19:05 GMT\"\n}\n\n```\n\n\n## 1. Project Setup\n\n### 1.1 Make sure you have Docker installed\nhttps://docs.docker.com/engine/installation/linux/\n\n### 1.2 Create .env file\n```bash\n$ cp .env_dist .env\n```\n\n### 1.3 Run the following command\n```bash\n$ docker-compose up -d\n```\n\n### 1.4 Setup database\n```bash\n$ docker exec -it conceptainc-database bash\n$ mysql -uconceptainc -pconceptainc conceptainc \u003c dumps/conceptainc.sql\n\n```\n\n### 1.5 Open your browser on\nhttp://localhost\n\n\n## 2. React build and copy files\n\n```bash\n$ make copy-bundle\n```\n\n[Download the POSTMAN Collection](https://www.getpostman.com/collections/b3dfa014d86371640238)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsilveira65%2Fconceptainc-tha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsilveira65%2Fconceptainc-tha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsilveira65%2Fconceptainc-tha/lists"}