{"id":26910171,"url":"https://github.com/ztf666/urwcc","last_synced_at":"2025-06-26T17:32:17.195Z","repository":{"id":118221390,"uuid":"160573702","full_name":"ZTF666/URWCC","owner":"ZTF666","description":"Web-coding-challenge","archived":false,"fork":false,"pushed_at":"2020-04-02T08:29:11.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-01T13:37:44.997Z","etag":null,"topics":["nearby-shops","oop-php","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/ZTF666.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":"2018-12-05T20:21:48.000Z","updated_at":"2020-04-02T08:32:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"d1a69905-1aaf-4402-8f41-1184069d110f","html_url":"https://github.com/ZTF666/URWCC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZTF666/URWCC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FURWCC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FURWCC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FURWCC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FURWCC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZTF666","download_url":"https://codeload.github.com/ZTF666/URWCC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZTF666%2FURWCC/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262113223,"owners_count":23260983,"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":["nearby-shops","oop-php","php"],"created_at":"2025-04-01T13:31:34.814Z","updated_at":"2025-06-26T17:32:17.167Z","avatar_url":"https://github.com/ZTF666.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### PRESENTATION\n\n```\nThis is an app developed for a web coding challenge\nsadly i didn't reach the final phase because of my 🤡'NoT sO gOoD aPpRoAcH'🤡\n_The web app is developed using_\n\nPURE OOP PHP (no framework included);\nBOOTSTRAP;\nMYSQL;\nJAVASCRIPT;\nGOOGLE PLACES API (javascript SDK);\n```\n\n## **STRUCTURE OF THE FOLDERS**\n\n```\n[''\n|-- API',\n  '    |   |-- Init.js',\n  '    |-- back',\n  '    |   |-- Classes',\n  '    |       |-- Athentification.php',\n  '    |       |-- connexion.php',\n  '    |       |-- DAO.php',\n  '    |       |-- disconnect.php',\n  '    |       |-- LikeDislike.php',\n  '    |       |-- savePlaces.php',\n  '    |       |-- submit.php',\n  '    |       |-- MODELS',\n  '    |           |-- Place.php',\n  '    |           |-- User.php',\n  '    |-- DBFolder',\n  '    |   |-- urcc.sql',\n  '    |-- front',\n  '    |   |-- index.php',\n  '    |   |-- Login.php',\n  '    |   |-- NearbyShops.php',\n  '    |   |-- PreferredShops.php',\n  '    |   |-- css',\n  '    |   |   |-- default.css',\n  '    |   |   |-- login.css',\n  '    |   |   |-- style.css',\n  '    |   |-- img',\n  '    |   |   |-- icon_rest.png',\n  '    |   |-- js-scripts',\n  '    |       |-- login-script.js',\n  '    |-- README',\n  '    |   |-- log.txt',\n  '    |-- ScreenShots',\n  '        |-- 1.png',\n  '        |-- 2.png',\n  '        |-- 3.png',\n  '        |-- 4.png',\n  '        |-- 5.png',\n  '' ]\n```\n\n## **HOW TO USE IT** :\n\n```\n-IMPORT THE MYSQL DB FILE FROM : DBFolder\n-CHANGE THE DB NAME,USER,PWD IN THE /BACK/CLASSES/CONNEXION.PHP FILE .\n\n-FIRE UP YOUR APACHE SERVER.\n\n-LOGIN USING EITHER THE PRE DEFINED LOGIN \u0026 PWD : SPOCK , KIRKSUCK || ZTF , XCFV || MARCELINE , MARCELINE\u003c3\n\n-ONCE LOGGED IN , YOU'LL BE REDIRECTED TO THE INDEX PAGE , CLICK ON THE FETCH NEARBY SHOPS .\n\n-ONCE DONE ,YOU'LL BE REDIRECTED AGAIN TO NEARBYSHOPS PAGE\n\n **THERE YOU CAN** :\n\n-LIKE : like a shop and add it to your favorits .\n\n-DISLIKE(1) : the shop won't be visible until 2h has gone by .\n\n-DISLIKE(2- in preferred shops): dislike an already liked shop to make it disapear from your list .\n\n-####PLEASE CONSIDER REALOADING YOUR NEARBYSHOPS FOR BETTER USE OF THE FUNCTIONALITIES , SINCE THIS IS AN ASYNCHRONOUS APPROACHE I USED\n\n-CLICK HOME TO REFRESH YOUR NEARBY SHOPS.\n\n-THE SHOPS WILL AUTOMATICALLY BE REMOVED ONCE YOU LOGGED OFF , SO IF YOU CHANGE YOUR LOCATION JUST SIGN OFF \u0026\u0026 SIGN IN OR RE-FETCH NEARBY SHOPS ONCE MORE .\n\n-THE SHOPS UNLIKED IN THE NEARBY SHOPS PAGE WILL AUTOMATICALLY BE VISIBLE AFTER 2H .\n```\n\n![Screenshot](ScreenShots/1.png)\n![Screenshot](ScreenShots/2.png)\n![Screenshot](ScreenShots/3.png)\n![Screenshot](ScreenShots/4.png)\n![Screenshot](ScreenShots/5.png)\n\n###### for any further explanation please contact me @ZTF666@protonmail.ch\n\n# PS\n\ndue to google's new bs about the places api and billing policy , you'll have to change the api key on the following file :\n\n```\nindex.php .\nLine 23 .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztf666%2Furwcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fztf666%2Furwcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztf666%2Furwcc/lists"}