{"id":21182927,"url":"https://github.com/swat1563/drf_social_network","last_synced_at":"2026-04-12T15:02:38.014Z","repository":{"id":148884548,"uuid":"527892396","full_name":"SwAt1563/drf_social_network","owner":"SwAt1563","description":"Social network website using DRF as backend, JS and Django as frontend ","archived":false,"fork":false,"pushed_at":"2022-09-25T07:27:13.000Z","size":4708,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T14:46:18.919Z","etag":null,"topics":["authentication","authorization","backend","backend-api","celery","css3","django","django-rest-framework","docker","docker-compose","docker-image","dockerfile","frontend","html-css-javascript","html5","javascript","network","postgresql","project","sqlite3"],"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/SwAt1563.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-23T08:07:19.000Z","updated_at":"2022-09-25T07:30:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7f68fb6-64a1-4ae5-ab07-36e1ff4d0274","html_url":"https://github.com/SwAt1563/drf_social_network","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwAt1563%2Fdrf_social_network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwAt1563%2Fdrf_social_network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwAt1563%2Fdrf_social_network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwAt1563%2Fdrf_social_network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwAt1563","download_url":"https://codeload.github.com/SwAt1563/drf_social_network/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243653228,"owners_count":20325704,"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":["authentication","authorization","backend","backend-api","celery","css3","django","django-rest-framework","docker","docker-compose","docker-image","dockerfile","frontend","html-css-javascript","html5","javascript","network","postgresql","project","sqlite3"],"created_at":"2024-11-20T17:58:36.653Z","updated_at":"2026-04-12T15:02:37.951Z","avatar_url":"https://github.com/SwAt1563.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social Network Website\n\n```\n The idea of this project is to create a simple social network backend that lets users create profiles, make friends, and create posts.\n```\n\n## Keywords\n - `model`: the models that needed for the requirements and the queries for use it\n - `view`: the frontend templates\n - `controller`: make api for handel the requests from frontend\n\n### General Considerations:\n\n- [x] Each Feature is a Django app\n- [x] All List APIs are paginated.\n- [x] Enable admin panel \n- [x] Authenticate users using JWT token.\n- [x] SQLite for local development Postgresql for production.\n- [x] Using Docker for deployment.\n\n\n\n### User Requirements\n\n- Every user has a profile.\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Users can send friend requests to each other and accept it.\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Users can search for each other by name.\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Users can create posts \u0026 his friends can see it and make comments \u0026 likes.\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Users can share images with their stories which last for 24 hours. (only friends)\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Register Account with username \u0026 password\n  - [x] model\n  - [x] controller\n  - [x] view\n- Login Account with username \u0026 password\n  - [x] model\n  - [x] controller\n  - [x] view\n- Change Password\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Deactivate Account\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Create, edit and search a profile\n  - [x] model\n  - [x] controller\n  - [x] view\n- Create, edit and delete Post\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Show Recent Posts for user’s friends (posts feed) with comments \u0026 likes count\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Add or show likes \u0026 comments to posts\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Send, accept or unfriend Friend Requests\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Show My Friends\n  - [x] model\n  - [ ] controller\n  - [x] view\n- Mutual Friends\n  - [x] model\n  - [ ] controller\n  - [x] view\n - Create a story\n   - [x] model\n   - [ ] controller\n   - [x] view\n - Show recent stories for the user’s friends\n   - [x] model\n   - [ ] controller\n   - [x] view\n - Each story lasts for 24 hours then it is removed\n   - [x] model\n   - [ ] controller\n   - [x] view\n\n\n ### System Requirements\n   \n   - Clone the repository \n   - Docker steps it should be on each frontend and api separately :\n        - Go to `docker-compose.yml` level on command line\n        - RUN this command `docker-compose build`\n        - RUN this command `docker-compose up -d`\n        - Now you can visit the api site on this [link](http://localhost:8000/) and frontend site on this [link](http://localhost:6123/)\n        - You can access the administration site on this [link](http://localhost:8000/admin)\n  \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswat1563%2Fdrf_social_network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswat1563%2Fdrf_social_network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswat1563%2Fdrf_social_network/lists"}