{"id":21499990,"url":"https://github.com/osama-mohamed/blog_django_restful_api","last_synced_at":"2026-04-13T19:31:33.818Z","repository":{"id":194492960,"uuid":"120872019","full_name":"osama-mohamed/Blog_django_restful_api","owner":"osama-mohamed","description":"https://www.linkedin.com/in/osama-mohamed-ms/","archived":false,"fork":false,"pushed_at":"2023-10-13T08:34:32.000Z","size":1492,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-17T13:13:25.788Z","etag":null,"topics":["api","bootstrap","css","css3","django","django-rest-framework","html","html5","jquery","json","json-api","mysql","python","python3","rest-api","restful-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/osama-mohamed.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}},"created_at":"2018-02-09T07:23:37.000Z","updated_at":"2023-10-19T21:34:49.000Z","dependencies_parsed_at":"2023-09-13T16:20:41.312Z","dependency_job_id":null,"html_url":"https://github.com/osama-mohamed/Blog_django_restful_api","commit_stats":null,"previous_names":["osama-mohamed/blog_django_restful_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osama-mohamed/Blog_django_restful_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FBlog_django_restful_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FBlog_django_restful_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FBlog_django_restful_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FBlog_django_restful_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osama-mohamed","download_url":"https://codeload.github.com/osama-mohamed/Blog_django_restful_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FBlog_django_restful_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: 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":["api","bootstrap","css","css3","django","django-rest-framework","html","html5","jquery","json","json-api","mysql","python","python3","rest-api","restful-api"],"created_at":"2024-11-23T17:20:07.952Z","updated_at":"2026-04-13T19:31:33.798Z","avatar_url":"https://github.com/osama-mohamed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Blog Restful API](https://blog-osama-mohamed-django.herokuapp.com) By Django\n\n[\u003cimg src=\"https://www.djangoproject.com/s/img/logos/django-logo-negative.png\" width=\"200\" title=\"Blog Restful API\" \u003e](https://blog-osama-mohamed-django.herokuapp.com)\n[\u003cimg src=\"https://www.mysql.com/common/logos/logo-mysql-170x115.png\" width=\"150\" title=\"Blog Restful API\" \u003e](https://blog-osama-mohamed-django.herokuapp.com)\n\n\n## For live preview :\n\u003e [Blog Restful API](https://blog-osama-mohamed-django.herokuapp.com)\n\n\n## Blog website contains:\n### 3 Apps :\n    1. Account\n    2. Article\n    3. Comment\n* User register \n* User login\n* User logout \n* Add article by admin\n* Update article by admin\n* Delete article by admin\n* Article number of views\n* Article expected read time\n* Add comment by authenticated user only\n* Delete comment by the authenticated owner only\n* Thread comments\n\n\n## Usage :\n### Run project by :\n\n``` python\n\n# change database connection information in settings.py DATABASES default values with your info then run \n\n1. python manage.py migrate\n\n2. python manage.py runserver\n\n# if you want to manage to project just create super user account by :\n\n3. python manage.py createsuperuser\n\n```\n\nThat's it.\n\n## Done :\n\nNow the project is running at `http://localhost:8000` and your routes is:\n\n\n| Route                                                      | HTTP Method \t | Description                           \t        |\n|:-----------------------------------------------------------|:--------------|:-----------------------------------------------|\n| {host}       \t                                             | GET       \t   | Home page                                      |\n| {host}/admin/  \t                                           | GET      \t   | Admin control panel                        \t  |\n| {host}/accounts/register/                                  | POST      \t   | User register           \t                      |\n| {host}/accounts/login/                                     | POST      \t   | User login           \t                        |\n| {host}/accounts/logout/                                    | GET      \t   | User logout           \t                        |\n| {host}/articles/                                           | POST      \t   | Articles page          \t                      |\n| {host}/articles/category/{category}/                       | GET      \t   | Search articles by category          \t        |\n| {host}/articles/article/{slug}/                            | GET \u0026 POST\t   | Article detail and add comment                 |\n| {host}/comments/{id}/                                      | POST      \t   | Thread comment           \t                    |\n| {host}/comments/{id}/delete/                               | POST      \t   | Delete comment           \t                    |\n| {host}/about_me/                                           | GET      \t   | About me page           \t                      |\n\n\n| API Route                                                  | HTTP Method \t | Description                           \t        |\n|:-----------------------------------------------------------|:--------------|:-----------------------------------------------|\n| {host}/api/accounts/register/                              | POST      \t   | User register                          \t      |\n| {host}/api/accounts/login/                                 | POST      \t   | User login           \t                        |\n| {host}/api/articles/                                       | POST      \t   | Articles page          \t                      |\n| {host}/api/articles/category/{category}/                   | GET      \t   | Search articles by category          \t        |\n| {host}/api/articles/article/{slug}/                        | GET      \t   | Article detail           \t                    |\n| {host}/api/comments/add_comment/{id}/                      | POST      \t   | Add comment           \t                        |\n| {host}/api/comments/{id}/                                  | POST      \t   | Thread comment           \t                    |\n| {host}/api/comments/{id}/delete/                           | DELETE      \t | Delete comment           \t                    |\n\n\nFor detailed explanation on how project work, read the [Django Docs](https://docs.djangoproject.com/en/1.11/) and [MySQLDB Docs](https://dev.mysql.com/doc/)\n\n## Developer\nThis project made by [Osama Mohamed](https://www.linkedin.com/in/osama-mohamed-ms/)\n\n## License\nThis project is licensed under the [MIT License](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosama-mohamed%2Fblog_django_restful_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosama-mohamed%2Fblog_django_restful_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosama-mohamed%2Fblog_django_restful_api/lists"}