{"id":24857251,"url":"https://github.com/blackhatinside/instagramfeed","last_synced_at":"2025-03-26T15:41:06.672Z","repository":{"id":270982568,"uuid":"911973566","full_name":"blackhatinside/InstagramFeed","owner":"blackhatinside","description":"Backend Development Project done during my Internship at Convin","archived":false,"fork":false,"pushed_at":"2025-01-18T08:15:43.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T17:16:20.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/blackhatinside.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":"2025-01-04T10:55:49.000Z","updated_at":"2025-01-18T08:15:45.000Z","dependencies_parsed_at":"2025-01-04T15:27:47.637Z","dependency_job_id":"d8ea596d-9104-4ab0-9c9e-18bf19217952","html_url":"https://github.com/blackhatinside/InstagramFeed","commit_stats":null,"previous_names":["blackhatinside/instagramfeed"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackhatinside%2FInstagramFeed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackhatinside%2FInstagramFeed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackhatinside%2FInstagramFeed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackhatinside%2FInstagramFeed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackhatinside","download_url":"https://codeload.github.com/blackhatinside/InstagramFeed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245683301,"owners_count":20655537,"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":[],"created_at":"2025-01-31T17:16:41.341Z","updated_at":"2025-03-26T15:41:06.644Z","avatar_url":"https://github.com/blackhatinside.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- \n\nAuthor:Post\t\t1:M\nPost:Comment\t1:M\n\n\nAuthor:\n\tname\n\temail\n\nPost:\n\tauthor (who posted)\n\ttitle\n\tcontent\n\tcreated_at\n\nComment:\n\tpost (under which post)\n\tauthor (who commented)\n\tcontent\n\tcreated_at\n\n --\u003e\n\ncreate an app 'social'\n```\n\tpython manage.py startapp social\n```\nadd the new app to the list of installed apps\nafter creating the models, do\n```\n\tpython manage.py makemigrations\n\tpython manage.py migrate\n```\nin cmd, add an author\n```\n\tpython manage.py shell\n\tfrom social.models import Author\n\tAuthor.objects.create(name=\"Adi\", email=\"adi@gmail.com\")\n```\n\n```\n\n# to delete\nhttp://127.0.0.1:8000/ --\u003e http://127.0.0.1:8000/authors/ --\u003e http://127.0.0.1:8000/authors/1/ --\u003e CLICK 'DELETE' button --\u003e  http://127.0.0.1:8000/authors/ --\u003e \n\n# to update\nhttp://127.0.0.1:8000/comments/3/ --\u003e CHANGE text in 'Content' field and click 'PUT' button\n\n```\n\n\n# DOCKER COMMANDS\nto restart the docker container\n`docker-compose up`\n\nto rebuild and restart the docker container\n`docker-compose up --build`\n\nto stop the docker container\n`docker-compose down`\n\n\n# IMPLEMENTATION NOTES\nCRUD operations are implemented through Django REST framework's ModelViewSet\n\n\tViewsets are typically registered with a router (DefaultRouter, SimpleRouter), which automatically generates the URL patterns for all the HTTP methods (GET, POST, PUT, DELETE, etc.)\n\nCRUD operations should be implemented through Django REST framework's Generic views\n\n\n# Testing Files\npublisher.py\nsender.py\nreceiver.py\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackhatinside%2Finstagramfeed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackhatinside%2Finstagramfeed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackhatinside%2Finstagramfeed/lists"}