{"id":42421740,"url":"https://github.com/kir-dev/sch-pincer","last_synced_at":"2026-01-28T02:59:07.309Z","repository":{"id":38289571,"uuid":"226162213","full_name":"kir-dev/sch-pincer","owner":"kir-dev","description":"Közös rendelő oldal a Schönherz Kollégium lakói számára","archived":false,"fork":false,"pushed_at":"2026-01-11T12:09:49.000Z","size":6794,"stargazers_count":12,"open_issues_count":32,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-11T16:41:11.062Z","etag":null,"topics":["kotlin","spring-boot"],"latest_commit_sha":null,"homepage":"https://schpincer.sch.bme.hu/","language":"Kotlin","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/kir-dev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-12-05T18:14:08.000Z","updated_at":"2026-01-11T12:09:52.000Z","dependencies_parsed_at":"2025-05-12T15:45:48.462Z","dependency_job_id":"deb609ca-b561-40a5-8893-63d61e81d67c","html_url":"https://github.com/kir-dev/sch-pincer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kir-dev/sch-pincer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fsch-pincer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fsch-pincer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fsch-pincer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fsch-pincer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kir-dev","download_url":"https://codeload.github.com/kir-dev/sch-pincer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kir-dev%2Fsch-pincer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28835628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T02:10:51.810Z","status":"ssl_error","status_checked_at":"2026-01-28T02:10:50.806Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["kotlin","spring-boot"],"created_at":"2026-01-28T02:59:06.542Z","updated_at":"2026-01-28T02:59:07.304Z","avatar_url":"https://github.com/kir-dev.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCH-PINCÉR\n\nFood ordering website for the Schönherz Dormitory\n\n## Running/debugging locally\n\n- Open the repository in IntelliJ IDEA\n- Create a database with this query: `CREATE DATABASE schpincer;`\n- Go to https://auth.sch.bme.hu/console/create, set *Átirányítási cím* to\n  `http://localhost:8080/login/oauth2/code/authsch`, then use the created credentials in the following config file:\n- Create `src/main/resources/config/application-local.properties` using the below config and update it with your AuthSCH credentials:\n\n```properties\nspring.security.oauth2.client.registration.authsch.client-id=AUTHSCHKLIENSAZONOSITO\nspring.security.oauth2.client.registration.authsch.client-secret=AUTHSCHKLIENSKULCS\n\n# use \"create\" to reset the database when restarting the server  \nspring.jpa.hibernate.ddl-auto=update\n\n# *Enable debug output* in the IntelliJ *Run/Debug Configuration* under\n# *Modify options* also prints SQL commands that were run.  \n#spring.jpa.show-sql=true\n```\n\n- Ensure that the `local` profile is set in *Run/Debug Configurations*  / *SchpincerApp* / *Active profiles:*\n- Press *Debug 'SchpincerApp'*. Open http://localhost:8080\n- Enable the `test` profile to insert demo data into the database\n\n### Grant admin privilege via SQL queries\n\n- Open postgres console and select your database\n- Make sure you've logged in at least once\n- Use eg. this query to grant yourself sysadmin, or set `schincer.sysadmin=YOUR_AUTHSCH_UUID` in your `application-local.properties`\n\n```sql\nUPDATE `users` SET `sysadmin`=1 WHERE `email`='YOUR_EMAIL';\n```\n\n- Relog (log out and in)\n- You will now see the two administration buttons  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkir-dev%2Fsch-pincer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkir-dev%2Fsch-pincer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkir-dev%2Fsch-pincer/lists"}