{"id":30865587,"url":"https://github.com/flagro/phrinifluentbackend","last_synced_at":"2026-02-21T12:01:30.719Z","repository":{"id":205272106,"uuid":"713527336","full_name":"Flagro/PhriniFluentBackend","owner":"Flagro","description":"Backend implementation for phrinifluent.com - opensource language learning platform","archived":false,"fork":false,"pushed_at":"2025-04-17T18:51:15.000Z","size":2728,"stargazers_count":1,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T18:57:00.050Z","etag":null,"topics":["django","django-rest-framework","docker","drf","github-actions","k8s","kubernetes","postgresql","python","python3"],"latest_commit_sha":null,"homepage":"https://phrinifluent.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flagro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-11-02T17:45:03.000Z","updated_at":"2025-01-27T12:46:12.000Z","dependencies_parsed_at":"2025-01-27T13:43:26.151Z","dependency_job_id":"890aaeb2-4c4b-4278-802b-17a833afb212","html_url":"https://github.com/Flagro/PhriniFluentBackend","commit_stats":null,"previous_names":["flagro/phrinifluentbackend"],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/Flagro/PhriniFluentBackend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flagro%2FPhriniFluentBackend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flagro%2FPhriniFluentBackend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flagro%2FPhriniFluentBackend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flagro%2FPhriniFluentBackend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flagro","download_url":"https://codeload.github.com/Flagro/PhriniFluentBackend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flagro%2FPhriniFluentBackend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29680147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T11:29:27.227Z","status":"ssl_error","status_checked_at":"2026-02-21T11:29:20.292Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["django","django-rest-framework","docker","drf","github-actions","k8s","kubernetes","postgresql","python","python3"],"created_at":"2025-09-07T21:23:43.662Z","updated_at":"2026-02-21T12:01:30.689Z","avatar_url":"https://github.com/Flagro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌍 PhriniFluent Backend\n\n![PhriniFluent Logo](logo.png)\n\n🎉 Welcome to the *backend repository* of **PhriniFluent**, an open-source language learning platform that's all about making language learning fun and accessible! This repository is the heart and soul of PhriniFluent, powering all the amazing features our users love.\n\n🔗 [PhriniFluent Main Project](https://github.com/Flagro/PhriniFluent)\n\n## 📜 License\nThis project spreads the love with the MIT License.\n\n## 💻 Implementation\nOur backend is crafted with care using Django and Django REST Framework (DRF), with Nginx as the trusty steed serving our web content.\n\n## 🌟 Microservices Overview\n\n### 1. 🙋 PhriniFluentUsers\n#### Model:\n- `PhriniFluentUser` (inherits `AbstractUser`)\n  - `telegram_handle`: CharField (max_length=100, unique, nullable, blank)\n\n#### 🚀 API Endpoints:\n- `POST /signup`: Begin your adventure by registering!\n- `POST /login`: Welcome back! Time to dive in.\n\n### 2. 📚 PhriniFluentWords\n#### Models:\n- `Language`: 🌐 Languages that connect our world.\n- `WordGroup`: 📝 Collections of words, shared or personal.\n- `WordGroupDescription`: 📖 Stories behind each word group.\n- `Word`: 🧩 Individual words that paint our thoughts.\n- `WordDescription`: 🖋️ Meanings and nuances of each word.\n\n#### 🚀 Words API Endpoints:\n- `GET /phrini_fluent_words/word-groups/public/`: Explore public word groups.\n- `GET /phrini_fluent_words/word-groups/private/`: Your personal linguistic treasure.\n- `GET /phrini_fluent_words/word-groups/{group_id}/random`: Discover a random word.\n- `POST /phrini_fluent_words/words/{word_id}/similarity`: Compare and learn.\n\n## 🚀 Setup Instructions\n1. **Docker Setup:**\n   - 🏗️ Use `docker-compose up --build` to assemble and ignite the services.\n\n2. **Database Migration:**\n   - 🛠️ After the grand launch, set up the database with:\n     ```\n     docker-compose exec web python manage.py migrate\n     ```\n   - This magic spell runs the `migrate` command inside the 'web' service container.\n\n### 🚀 Local setup\n\n#### 🚀 Run migration inside container:\n```bash\ndocker exec -it phrinifluentbackend-web-1 python manage.py migrate\n```\n\n#### 🚀 Import words using admin console:\n1. Create a user in your docker image: `docker exec -it phrinifluentbackend-web-1 python manage.py createadmin`\n2. Go to the admin panel in your browser: `http://127.0.0.1:8000/admin/login/?next=/admin/` and enter credentials from your env file.\n3. Trigger the endpoint in your browser: `http://127.0.0.1:8000/phrini_fluent_users/import-words/` that will import the default words list.\n\n## 👐 Collaboration\n🤝 Your contributions bring PhriniFluent to life! Whether it's a bug fix, a feature, or just a bit of wisdom, we're all ears. Check out our [issues page](https://github.com/Flagro/PhriniFluentBackend/issues) for current quests and adventures!\n\n---\n\n💫 *Feel the joy of learning and sharing in the world of PhriniFluent!* Together, we're making language learning not just effective, but **magical**! ✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflagro%2Fphrinifluentbackend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflagro%2Fphrinifluentbackend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflagro%2Fphrinifluentbackend/lists"}