{"id":24574088,"url":"https://github.com/miskibin/sejm-stats","last_synced_at":"2025-04-23T12:55:23.103Z","repository":{"id":249876466,"uuid":"832818053","full_name":"miskibin/sejm-stats","owner":"miskibin","description":"About site for polish parliament with extended functionality","archived":false,"fork":false,"pushed_at":"2024-10-21T19:25:24.000Z","size":20565,"stargazers_count":25,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-21T22:46:27.992Z","etag":null,"topics":["django","nextjs","parliament","react","tailwind","website"],"latest_commit_sha":null,"homepage":"https://sejm-stats.pl/","language":"Jupyter Notebook","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/miskibin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T19:33:47.000Z","updated_at":"2024-10-21T19:25:28.000Z","dependencies_parsed_at":"2024-09-07T13:37:09.604Z","dependency_job_id":"1d3f898d-00bf-4bcd-989e-45b571eddf6a","html_url":"https://github.com/miskibin/sejm-stats","commit_stats":null,"previous_names":["miskibin/sejm-stats"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miskibin%2Fsejm-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miskibin%2Fsejm-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miskibin%2Fsejm-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miskibin%2Fsejm-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miskibin","download_url":"https://codeload.github.com/miskibin/sejm-stats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250439286,"owners_count":21430822,"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":["django","nextjs","parliament","react","tailwind","website"],"created_at":"2025-01-23T20:56:52.366Z","updated_at":"2025-04-23T12:55:23.078Z","avatar_url":"https://github.com/miskibin.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Codacy Badge](https://app.codacy.com/project/badge/Grade/cba40f6626de4790a9d2a6ca5a16d02f)](https://app.codacy.com/gh/miskibin/sejm-stats/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://sejm-stats.pl/\"\u003e\u003cimg src=\"frontend/public/logo.png\" alt=\"Sejm Stats logo\" width=\"200\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**IMPORTANT**\n\nProject is no longer maintained, go to [new version](https://github.com/miskibin/sejmofil)\n\n\u003ch1 align=\"center\"\u003eSejm Stats\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Making \u003cem\u003ePolish parliamentary data\u003c/em\u003e more accessible \u003cbr/\u003e\n  and understandable for citizens.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://docs.sejm-stats.pl/\"\u003e\u003cstrong\u003e📚 Dokumentacja (PL)\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/michalskibinski109/sejm-stats-docs\"\u003e\u003cstrong\u003e📖 Project Docs\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"https://discord.com/invite/zH2J3z5Wbf\"\u003e\u003cstrong\u003e💬 Discord\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"https://patronite.pl/sejm-stats\"\u003e\u003cstrong\u003e❤️ Patronite\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"https://www.youtube.com/@sejm-stats\"\u003e\u003cstrong\u003e🎥 YouTube\u003c/strong\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/miskibin/ollama-ui/\"\u003e\u003cstrong\u003e🌟 AI repository\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://sejm-stats.pl\"\u003e\u003cimg src=\"https://github.com/user-attachments/assets/f8b3a543-1b05-4541-b65d-4f004b868ccc\" alt=\"Sejm Stats Preview\" \u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 🚀 Quick Start\n\nTo get started with development:\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/miskibin/sejm-stats\n   cd sejm-stats\n   ```\n\n2. Choose your development environment:\n   - [Backend Development](#backend-development)\n   - [Frontend Development](#frontend-development)\n\n## 🛠️ Development Setup\n\nSejm-stats is split into two environments: backend and frontend.\n\n### Backend Development\n\n1. Create a `.env` file in the root directory with the following content:\n   ```\n   POSTGRES_DB=example\n   POSTGRES_USER=postgres\n   POSTGRES_PASSWORD=postgres\n   POSTGRES_PORT=5432\n   DATABASE_HOST=db\n   DEBUG=true\n   SECRET_KEY=does_not_matter\n   EMAIL_HOST_PASSWORD=only_used_when_debug_is_false\n   BUILD_TARGET=prod\n   C_FORCE_ROOT=true\n   ```\n\n2. Use Visual Studio Code and open the project in a devcontainer.\n\n3. Run the server:\n   ```\n   python manage.py runserver 0.0.0.0:8000\n   ```\n\n4. To update data, run the Celery worker:\n   ```\n   celery -A core worker -l info\n   ```\n\n\u003e [!Note]  \n\u003e 🤖 The UI for the Django part is obsolete and will be removed soon.\n\n### Frontend Development\n\n\u003e [!Tip]  \n\u003e 🤖 If you don't want to run the backend locally, you can use the production API. Set `NEXT_PUBLIC_API_URL=https://sejm-stats.pl/apiInt` in `/frontend/.env` file.\n\n1. [Install npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)\n\n2. Navigate to the frontend directory:\n   ```\n   cd ./frontend\n   ```\n\n3. Install dependencies:\n   ```\n   npm i\n   ```\n\n4. Run the development server:\n   ```\n   npm run dev\n   ```\n\n## 🤝 Contributing\n\nWhen creating a pull request, we enforce a specific title format using [blumilksoftware/action-pr-title](https://github.com/blumilksoftware/action-pr-title) GitHub action. The rules are:\n\n- `#123 - Some PR title` - for PRs that deal with a specific issue, where `123` is the issue number\n- `- Some PR title` - for PRs that don't have a related issue\n\nFor any inquiries or contributions, please refer to our [GitHub repository](https://github.com/michalskibinski109/sejm-stats) or join our Discord server. Your support through Patronite or feedback on YouTube is also highly appreciated.\n\n\u003e [!Tip]  \n\u003e 🤖 If you have any questions, feel free to ask on [Discord](https://discord.com/invite/zH2J3z5Wbf)!\n\nSejm-stats is open for contributions!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiskibin%2Fsejm-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiskibin%2Fsejm-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiskibin%2Fsejm-stats/lists"}