{"id":19622066,"url":"https://github.com/timurkr/mandalinka-backend","last_synced_at":"2026-05-09T07:39:12.538Z","repository":{"id":228751908,"uuid":"530805987","full_name":"TimurKr/mandalinka-backend","owner":"TimurKr","description":"Mandalinka - back-end service, providing GraphQL endpoint to the database and admin interface","archived":false,"fork":false,"pushed_at":"2023-04-08T17:31:39.000Z","size":92636,"stargazers_count":0,"open_issues_count":17,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T19:16:50.935Z","etag":null,"topics":["django","graphql"],"latest_commit_sha":null,"homepage":"","language":"Python","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/TimurKr.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":"2022-08-30T19:44:43.000Z","updated_at":"2024-03-20T07:48:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f5eac51-e6db-47e1-a209-d7dfd3a06587","html_url":"https://github.com/TimurKr/mandalinka-backend","commit_stats":null,"previous_names":["timurkr/mandalinka-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TimurKr/mandalinka-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimurKr%2Fmandalinka-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimurKr%2Fmandalinka-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimurKr%2Fmandalinka-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimurKr%2Fmandalinka-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimurKr","download_url":"https://codeload.github.com/TimurKr/mandalinka-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimurKr%2Fmandalinka-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32811656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["django","graphql"],"created_at":"2024-11-11T11:25:50.298Z","updated_at":"2026-05-09T07:39:12.522Z","avatar_url":"https://github.com/TimurKr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mandalinka backend\n\n## About\n\nThis is the backend service for mandalinka. It provides GraphQL endpoint at the root url `/` and admin page at `/admin`\n\nRelated repositories:\n\n- [web app](https://github.com/TimurKr/mandalinka-web)\n\n## Development\n\n##### Running server in development\n\n1. Make sure you have downloaded gcloud CLI. [How?](https://cloud.google.com/sdk/docs/install)\n2. Initialize `gcloud` by running\n\n```\ngcloud init\n```\n\n3. Authenticate `gloud` by running\n\n```\ngcloud auth application-default login\n```\n\n4. Run the server with the script\n\n```\n./run_development.sh\n```\n\nThis runs the script in a virtual environment.\n\n##### Running django commandse using `manage.py`\n\n1. Run in parallel with the server\n\n- Run the server in one terminal `./run_development.sh`\n- Open new terminal and activate the virtual environment `source venv/bin/activate`. It will be activated automatically if using VSCode and you have selected the interpreter from the `venv`.\n- Run `export DEVELOPMENT=True` to add the required environment variable\n- Run the command in the new terminal `python manage.py \u003ccommand\u003e`\n\n2. Run without running the server\n\n- Activate the virtual environment `source venv/bin/activate`. It will be activated automatically if using VSCode and you have selected the interpreter from the `venv`.\n- Start the Cloud SQL proxy. If it is not dowloaded, run the development script once to download it.\n\n```\n./cloud_sql_proxy -instances=mandalinka-275618:us-central1:mandalinka-db=tcp:5432\n```\n\n- Set the environment variables `export DEVELOPMENT=True`\n- Run the command `python manage.py \u003ccommand\u003e`\n\n\u003e If the repozitory was just cloned, intelisense will not work. Run in the development to create the virtual environment with all requirements and then select the interpreter from the `venv`.\n\n## Deployment\n\nThe app is deployed to Google Cloud App Engine. The deployment is done using GitHub Actions. The deployment is triggered when a new commit is pushed to the master branch. Avoid pushing to master directly. Create a new branch and create a pull request to master.\nDo not deploy deploy to production directly.\n\n#### Working on:\n\n## Useful info for developers:\n\n### Superuser account:\n\nusername: admin\nemail: admin@mandalinka.sk\npassword: admin_heslo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimurkr%2Fmandalinka-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimurkr%2Fmandalinka-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimurkr%2Fmandalinka-backend/lists"}