{"id":21499970,"url":"https://github.com/osama-mohamed/e-commerce_blueprint","last_synced_at":"2026-04-07T22:31:59.386Z","repository":{"id":194492974,"uuid":"114110814","full_name":"osama-mohamed/E-Commerce_Blueprint","owner":"osama-mohamed","description":"https://www.linkedin.com/in/osama-mohamed-ms/","archived":false,"fork":false,"pushed_at":"2023-10-13T08:44:31.000Z","size":2142,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-23T21:46:31.015Z","etag":null,"topics":["bootstrap","css","css3","flask","html","html5","jquery","mysql","python","python3"],"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}},"created_at":"2017-12-13T11:07:44.000Z","updated_at":"2023-10-19T21:38:17.000Z","dependencies_parsed_at":"2025-06-23T21:50:25.264Z","dependency_job_id":null,"html_url":"https://github.com/osama-mohamed/E-Commerce_Blueprint","commit_stats":null,"previous_names":["osama-mohamed/e-commerce_blueprint"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osama-mohamed/E-Commerce_Blueprint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_Blueprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_Blueprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_Blueprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_Blueprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osama-mohamed","download_url":"https://codeload.github.com/osama-mohamed/E-Commerce_Blueprint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osama-mohamed%2FE-Commerce_Blueprint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31532238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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":["bootstrap","css","css3","flask","html","html5","jquery","mysql","python","python3"],"created_at":"2024-11-23T17:19:59.198Z","updated_at":"2026-04-07T22:31:59.369Z","avatar_url":"https://github.com/osama-mohamed.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [E-Commerce Blueprint](https://buysell-by-osama-mohamed.herokuapp.com) By Flask\n\n[\u003cimg src=\"https://flask.palletsprojects.com/en/3.0.x/_images/flask-horizontal.png\" width=\"200\" title=\"E-Commerce Blueprint\" \u003e](https://buysell-by-osama-mohamed.herokuapp.com)\n[\u003cimg src=\"https://www.mysql.com/common/logos/logo-mysql-170x115.png\" width=\"150\" title=\"E-Commerce Blueprint\" \u003e](https://buysell-by-osama-mohamed.herokuapp.com)\n\n\n## For live preview :\n\u003e [E-Commerce Blueprint](https://buysell-by-osama-mohamed.herokuapp.com)\n\n\n## E-commerce website contains:\n* User register \n* User login\n* User logout \n* Change password\n* Reset password\n* User delete account\n* Order products\n* Edit order quantity\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# run \n\n1. export FLASK_APP=website.py\n\n2. python -m flask run\n\n# OR you can use\n\n1. export FLASK_APP=website.py\n\n2. flask run\n\n```\n\nThat's it.\n\n## Done :\n\nNow the project is running at `http://localhost:5000` and your routes is:\n\n\n| Route                                                      | HTTP Method \t   | Description                           \t      |\n|:-----------------------------------------------------------|:----------------|:---------------------------------------------|\n| {host}       \t                                             | GET       \t     | Home page                                    |\n| {host}/contact_us                                          | POST     \t     | Contact us message                           |\n| {host}/products_price_range                                | POST     \t     | Search products by price range               |\n| {host}/products/{id}                                       | POST     \t     | All products page                            |\n| {host}/user_forget_password                                | GET      \t     | Forget password page                         |\n| {host}/user_forget_password_email                          | POST     \t     | Send reset password e-mail                   |\n| {host}//user_reset_password/{id}/{random_for_reset}        | POST     \t     | Enter new password                           |\n| {host}/user_register                                       | POST     \t     | User register                                |\n| {host}/user_login                                          | POST     \t     | User login                                   |\n| {host}/user_logout                                         | GET     \t       | User logout                                  |\n| {host}/user_account                                        | GET     \t       | User profile                                 |\n| {host}/user_profile_picture                                | POST     \t     | Change user profile image                    |\n| {host}/user_change_password/                               | POST     \t     | User change password                         |\n| {host}/delete_user_account                                 | POST    \t       | Delete user account                          |\n| {host}/add_product_to_cart/{id}                            | POST     \t     | Add order to cart                            |\n| {host}/add_product_to_cart_from_slider/{id}                | POST     \t     | Add order to cart from slider                |\n| {host}/increase_cart_product_quantity/{id}                 | POST     \t     | Increase order quantity                      |\n| {host}/edit_cart_product_quantity/{id}                     | POST     \t     | Enter order quantity                         |\n| {host}/decrease_cart_product_quantity/{id}                 | POST     \t     | Decrease order quantity                      |\n| {host}/delete_product_from_cart/{id}                       | POST     \t     | Delete order                                 |\n| {host}/add_to_cart                                         | POST   \t       | Cart                                         |\n| {host}/buy                                                 | POST     \t     | Buy orders                                   |\n| {host}/product_review/{id}                                 | POST     \t     | Add product review                           |\n| {host}/slider_product_review/{id}                          | POST     \t     | Add slider product review                    |\n| {host}/preview_production/{id}                             | GET     \t       | Product detail                               |\n| {host}/preview_production_slider/{id}                      | GET     \t       | Slider Product detail                        |\n| {host}/categories/{category}                               | GET     \t       | Search products by category                  |\n| {host}/user_search                                         | POST     \t     | Search in products name                      |\n\n\n\n\n\n\n| Admin Route                                                         | HTTP Method \t   | Description                 \t      |\n|:--------------------------------------------------------------------|:-----------------|:-----------------------------------|\n| {host}/admin/admin_forget_password                                  | GET       \t     | Reset password for admin           |\n| {host}/admin/admin_forget_password_email                            | POST       \t     | Send reset password e-mail         |\n| {host}/admin/admin_reset_password/{id}/{random_for_reset}           | POST       \t     | Enter new password                 |\n| {host}/admin/login                                                  | POST       \t     | Admin login                        |\n| {host}/admin/logout                                                 | GET       \t     | Admin logout                       |\n| {host}/admin/admin_change_password/                                 | POST       \t     | Admin change password              |\n| {host}/admin/delete_admin_account                                   | POST       \t     | Delete admin account               |\n| {host}/admin/                                                       | POST       \t     | Admin Dashboard                    |\n| {host}/admin/upload_picture                                         | POST       \t     | Admin change image                 |\n| {host}/admin/admin_profile_picture                                  | POST       \t     | Admin change profile image         |\n| {host}/admin/add_product                                            | POST       \t     | Admin add product                  |\n| {host}/admin/edit_product/{id}                                      | POST       \t     | Admin edit product                 |\n| {host}/admin/delete_product/{id}                                    | POST       \t     | Admin delete product               |\n| {host}/admin/delete_all_products                                    | POST       \t     | Admin delete all products          |\n| {host}/admin/delete_review_products/{id}/{id2}                      | POST       \t     | Admin delete product review        |\n| {host}/admin/delete_all_review_products                             | POST       \t     | Admin delete all product reviews   |\n| {host}/admin/add_product_slider                                     | POST       \t     | Admin add slider product           |\n| {host}/admin/edit_product_slider/{id}                               | POST       \t     | Admin edit slider product          |\n| {host}/admin/delete_product_slider/{id}                             | POST       \t     | Admin delete slider product        |\n| {host}/admin/delete_all_slider_products                             | POST       \t     | Admin delete all slider products   |\n| {host}/admin/delete_review_slider_product/{id}/{id2}                | POST       \t     | Admin delete slider product review |\n| {host}/admin/delete_all_slider_products_reviews                     | POST       \t     | Admin delete all slider product reviews|\n| {host}/admin/add_user                                               | POST       \t     | Admin create user account          |\n| {host}/admin/delete_user/{id}                                       | POST       \t     | Admin delete user account          |\n| {host}/admin/add_category                                           | POST       \t     | Admin add category                 |\n| {host}/admin/edit_category/{current_category}                       | POST       \t     | Admin edit category                |\n| {host}/admin/delete_category/{category}                             | POST       \t     | Admin delete category              |\n| {host}/admin/delete_all_categories                                  | POST       \t     | Admin delete all catigories        |\n| {host}/admin/delete_all_users                                       | POST       \t     | Admin delete all users accounts    |\n| {host}/admin/delete_all_accounts                                    | POST             | Admin delete all accounts          |\n| {host}/admin/accept_orders/{id}                                     | POST       \t     | Admin accept order                 |\n| {host}/admin/accept_all_orders                                      | POST       \t     | Admin accept all orders            |\n| {host}/admin/reject_orders/{id}                                     | POST       \t     | Admin reject order                 |\n| {host}/admin/reject_all_orders                                      | POST       \t     | Admin reject all orders            |\n| {host}/admin/search                                                 | POST       \t     | Admin search in products name      |\n| {host}/admin/slider_products_table                                  | GET       \t     | Admin slider products table        |\n| {host}/admin/products_table                                         | GET       \t     | Admin products table               |\n| {host}/admin/categories_table                                       | GET       \t     | Admin categories table             |\n| {host}/admin/categories/{category}                                  | POST       \t     | Admin search products by category  |\n| {host}/admin/users_table                                            | GET       \t     | Admin users table                  |\n| {host}/admin/orders_table                                           | GET       \t     | Admin orders table                 |\n| {host}/admin/review_products                                        | GET       \t     | Admin products reviews table       |\n| {host}/admin/review_slider_products                                 | GET       \t     | Admin slider products reviews table|\n| {host}/admin/product/{id}                                           | GET       \t     | Admin preview product              |\n| {host}/admin/slider/{id}                                            | GET       \t     | Admin preview slider product       |\n| {host}/admin/messages_table                                         | GET       \t     | Admin contact us messages table    |\n| {host}/admin/message/{id}                                           | GET       \t     | Admin preview contact us message   |\n| {host}/admin/delete_message/{id}                                    | POST       \t     | Admin delete contact us message    |\n| {host}/admin/delete_all_messages                                    | POST       \t     | Admin delete all contact us message|\n| {host}/admin/delete_all_seen_messages                               | POST       \t     | Admin delete all seen messages     |\n| {host}/admin/delete_all_not_seen_messages                           | POST       \t     | Admin delete all not seen messages |\n| {host}/admin/show_orders/{username}                                 | GET       \t     | Admin show all orders by user table|\n| {host}/admin/accept_order_user/{username}/{id}                      | GET       \t     | Admin accept order by user         |\n| {host}/admin/accept_all_orders_user/{username}                      | GET       \t     | Admin accept all orders by user    |\n| {host}/admin/reject_order_user/{username}/{id}                      | GET       \t     | Admin reject order by user         |\n| {host}/admin/reject_all_orders_user/{username}                      | GET       \t     | Admin reject all orders by user    |\n\n\n\n\nFor detailed explanation on how project work, read the [Flask Docs](http://flask.pocoo.org/docs/0.12/) 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_blueprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosama-mohamed%2Fe-commerce_blueprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosama-mohamed%2Fe-commerce_blueprint/lists"}