{"id":21499969,"url":"https://github.com/osama-mohamed/e-commerce_django_restful_api","last_synced_at":"2026-04-04T21:33:14.596Z","repository":{"id":194492975,"uuid":"120604127","full_name":"osama-mohamed/E-Commerce_django_restful_api","owner":"osama-mohamed","description":"https://www.linkedin.com/in/osama-mohamed-ms/","archived":false,"fork":false,"pushed_at":"2023-10-13T08:33:09.000Z","size":2470,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-03T16:32:30.895Z","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":"CSS","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,"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":"2018-02-07T11:03:42.000Z","updated_at":"2023-10-28T13:28:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"a88a3eac-0c8a-4fd4-9b41-9983d66ed612","html_url":"https://github.com/osama-mohamed/E-Commerce_django_restful_api","commit_stats":null,"previous_names":["osama-mohamed/e-commerce_django_restful_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osama-mohamed/E-Commerce_django_restful_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_django_restful_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_django_restful_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_django_restful_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_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/E-Commerce_django_restful_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_django_restful_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31415110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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:19:59.028Z","updated_at":"2026-04-04T21:33:14.588Z","avatar_url":"https://github.com/osama-mohamed.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [E-Commerce Restful API](https://buysell-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=\"E-Commerce Restful API\" \u003e](https://buysell-osama-mohamed-django.herokuapp.com)\n[\u003cimg src=\"https://www.mysql.com/common/logos/logo-mysql-170x115.png\" width=\"150\" title=\"E-Commerce Restful API\" \u003e](https://buysell-osama-mohamed-django.herokuapp.com)\n\n\n## For live preview :\n\u003e [E-Commerce](https://buysell-osama-mohamed-django.herokuapp.com)\n\n\n## E-commerce website contains:\n### 5 Apps :\n    1. Accounts\n    2. Products\n    3. Orders\n    4. Reviews\n    5. Contact Us\n* User register \n* User login\n* User logout \n* Change password\n* Reset password\n* User delete account\n* Send activation code when register\n* Order products\n* Edit order quantity -with jquery functionality-\n* Delete order\n* Add review to products\n* Calculate avg to every product\n* Contact us message\n\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/activate/{code}/                           | GET      \t   | Activate user account after register         |\n| {host}/accounts/login/                                     | POST      \t   | User login           \t                      |\n| {host}/accounts/logout/                                    | GET      \t   | User logout           \t                      |\n| {host}/accounts/change_password/                           | POST      \t   | User change password           \t          |\n| {host}/accounts/profile/                                   | GET      \t   | User profile          \t                      |\n| {host}/accounts/profile/update/{pk}/                       | PUT      \t   | User update checkout information             |\n| {host}/accounts/profile/delete/                            | POST      \t   | User delete account           \t              |\n| {host}/accounts/reset_password/                            | POST      \t   | User email           \t                      |\n| {host}/accounts/reset_password/done/                       | POST      \t   | Send reset password email           \t      |\n| {host}/accounts/reset_password/confirm/{uidb64}/{token}/   | POST      \t   | Enter new password           \t              |\n| {host}/accounts/reset_password/complete/                   | POST      \t   | Finish reset password           \t          |\n| {host}/products/                                           | POST      \t   | Products page          \t                  |\n| {host}/products/category/{category}/                       | GET      \t   | Search products by category          \t      |\n| {host}/products/all/                                       | GET      \t   | All products           \t                  |\n| {host}/products/{slug}/                                    | GET      \t   | Product detail           \t                  |\n| {host}/orders/order/{id}/                                  | POST      \t   | Order product           \t                  |\n| {host}/orders/order/{pk}/update/                           | POST      \t   | Update order quantity           \t          |\n| {host}/orders/order/{id}/delete/                           | POST      \t   | Delete order           \t                  |\n| {host}/orders/cart/                                        | GET      \t   | Cart page           \t                      |\n| {host}/orders/pending/                                     | GET      \t   | Pending orders           \t                  |\n| {host}/orders/rejected/                                    | GET      \t   | Rejected orders           \t                  |\n| {host}/orders/accepted/                                    | GET      \t   | Accepted orders           \t                  |\n| {host}/orders/buy/                                         | POST      \t   | Buy orders          \t                      |\n| {host}/orders/thank_you/                                   | GET      \t   | Thank you page          \t                  |\n| {host}/reviews/add_review/{id}/                            | POST      \t   | Add review           \t                      |\n| {host}/reviews/update_review/{id}/                         | POST      \t   | Update review           \t                  |\n| {host}/reviews/delete_review/{id}/                         | POST      \t   | Delete review           \t                  |\n| {host}/contact_us/                                         | POST      \t   | Contact us message           \t              |\n\n\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/accounts/change_password/                       | PUT      \t   | User change password                   \t  |\n| {host}/api/accounts/profile/{id}/                          | GET      \t   | User profile           \t                  |\n| {host}/api/accounts/profile/update/{id}/                   | PUT      \t   | User update checkout information             |\n| {host}/api/accounts/profile/delete/{id}/                   | DELETE      \t   | User delete account           \t              |\n| {host}/api/products/                                       | GET      \t   | Products page          \t                  |\n| {host}/api/products/category/{category}/                   | GET      \t   | Search products by category          \t      |\n| {host}/api/products/all/                                   | GET      \t   | All products           \t                  |\n| {host}/api/products/{slug}/                                | GET      \t   | Product detail           \t                  |\n| {host}/api/orders/order/{id}/                              | POST      \t   | Order product           \t                  |\n| {host}/api/orders/order/{id}/update/                       | PUT      \t   | Update order quantity           \t          |\n| {host}/api/orders/order/{id}/delete/                       | DELETE      \t   | Delete order           \t                  |\n| {host}/api/orders/cart/                                    | GET      \t   | Cart page           \t                      |\n| {host}/api/orders/pending/                                 | GET      \t   | Pending orders           \t                  |\n| {host}/api/orders/rejected/                                | GET      \t   | Rejected orders           \t                  |\n| {host}/api/orders/accepted/                                | GET      \t   | Accepted orders           \t                  |\n| {host}/api/orders/buy/                                     | POST      \t   | Buy orders          \t                      |\n| {host}/api/reviews/add_review/{id}/                        | POST      \t   | Add review           \t                      |\n| {host}/api/reviews/update_review/{id}/                     | POST      \t   | Update review           \t                  |\n| {host}/api/reviews/delete_review/{id}/                     | DELETE      \t   | Delete review                                |\n| {host}/api/contact_us/                                     | POST      \t   | Contact us message                           |\n\n\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%2Fe-commerce_django_restful_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosama-mohamed%2Fe-commerce_django_restful_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosama-mohamed%2Fe-commerce_django_restful_api/lists"}