{"id":27334927,"url":"https://github.com/dmuth/guestbook","last_synced_at":"2025-04-12T14:46:39.605Z","repository":{"id":7636364,"uuid":"8996345","full_name":"dmuth/guestbook","owner":"dmuth","description":"A sample guestbook app I wrote in PHP for an interview.  Part of the requirements involved NOT using any frameworks, so I created my own architecture from the ground up.","archived":false,"fork":false,"pushed_at":"2020-09-03T22:21:51.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-02T06:07:33.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmuth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-25T01:22:44.000Z","updated_at":"2015-09-15T16:53:42.000Z","dependencies_parsed_at":"2022-09-21T19:31:14.104Z","dependency_job_id":null,"html_url":"https://github.com/dmuth/guestbook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fguestbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fguestbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fguestbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fguestbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmuth","download_url":"https://codeload.github.com/dmuth/guestbook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248585249,"owners_count":21128974,"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":"2025-04-12T14:46:39.070Z","updated_at":"2025-04-12T14:46:39.600Z","avatar_url":"https://github.com/dmuth.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guestbook App\n\nThis is a sample guestbook app that I wrote in PHP, using a custom MVC \nframework that I built just for this project.\n\nIt does the following:\n\n- Prompts a user to enter their name\n- Prompts a user to enter their interests in comma-delimited form\n- Prompts a user to enter their message\n\nOnce a message is saved, viewing the guestbook will cause a connection \nto be made to Flickr's API to fetch a picture for each interest entered.\n\n## Installation\n\n- Go into protected/sql/\n   - Update `user.sql` to have a different username or password if you wish\n   - Run the commands in `user.sql` as the database admin user\n      - `mysql -u admin_username -padmin_password \u003c ./user.sql`\n   - Run the commands in `schema.sql` as the database user.\n      - `mysql -u guestbook_username -pguestbook_password \u003c ./schema.sql`\n- Go into protected/config/\n   - Season `db-dev.php` and `db-production.php` to taste.\n   - Symlink one of those files to db.php, depending on whether \n\t\tyou are in development or production.\n\n## Notes\n\n- If you are running Apache, an `.htaccess` file in protected/ \n\twill properly restrict access to that directory\n   - If you are running another webserver, **you are repsonsible \n\tfor securing that directory**.\n\n## Licensing\n\nIf you actually want to use my code, then consider it available \nunder the GPL v2.\n\nEnjoy!\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmuth%2Fguestbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmuth%2Fguestbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmuth%2Fguestbook/lists"}