{"id":13557026,"url":"https://github.com/joindin/joindin-api","last_synced_at":"2025-04-03T11:30:33.774Z","repository":{"id":46565372,"uuid":"9841298","full_name":"joindin/joindin-api","owner":"joindin","description":"The Joind.in API PHP Application","archived":false,"fork":false,"pushed_at":"2024-05-24T17:22:11.000Z","size":6981,"stargazers_count":44,"open_issues_count":0,"forks_count":169,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-11-04T06:35:33.913Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"http://docs.joind.in/joindin-api/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joindin.png","metadata":{"files":{"readme":"README-local-dev.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2013-05-03T17:44:24.000Z","updated_at":"2024-05-24T17:21:50.000Z","dependencies_parsed_at":"2024-04-24T22:29:44.184Z","dependency_job_id":"a11849eb-22dc-4efb-9c8a-6e23a112fcd3","html_url":"https://github.com/joindin/joindin-api","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joindin%2Fjoindin-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joindin%2Fjoindin-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joindin%2Fjoindin-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joindin%2Fjoindin-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joindin","download_url":"https://codeload.github.com/joindin/joindin-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246992747,"owners_count":20865875,"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":["hacktoberfest"],"created_at":"2024-08-01T12:04:08.026Z","updated_at":"2025-04-03T11:30:28.765Z","avatar_url":"https://github.com/joindin.png","language":"PHP","readme":"# Quick start with the PHP dev server\n\nThe API will run happily under the [PHP development server](http://php.net/manual/en/features.commandline.webserver.php).  You will need to have a MySQL running with the Joind.in schema availble, referenced from the src/database.php file (see below about initialising the DB).  Note that the web2 site will also run under the built-in webserver, but will need to be on a different listening port.\n\nTo run the API on http://localhost:8080/, do the following:\n```\ncd public\nexport JOINDIN_API_BASE_URL=http://localhost:8081\nphp -S localhost:8081 index.php\n```\n\n## Initialising the database\n\nAs you are not using the Vagrant setup, you will need to provide your own MySQL database and configure it in src/database.php.  Once there is an empty database and a username/password, you can setup the tables by running the patch script at scripts/patchdb.sh with the \"-i\" (initialise DB) option.\n\n```\ncd scripts\n./patchdb.sh -t ../ -d \u003cDB name\u003e -u \u003cDB username\u003e -p \u003cDB password\u003e -i\n```\n\nIf you already have a development DB, but you want to patch it up to the latest structure, then run the same command except omit the \"-i\" option.\n\n```\ncd scripts\n./patchdb.sh -t ../ -d \u003cDB name\u003e -u \u003cDB username\u003e -p \u003cDB password\u003e\n```\n","funding_links":[],"categories":["PHP","hacktoberfest"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoindin%2Fjoindin-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoindin%2Fjoindin-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoindin%2Fjoindin-api/lists"}