{"id":23103331,"url":"https://github.com/themusharraf/mvc","last_synced_at":"2026-04-28T11:04:39.338Z","repository":{"id":229979908,"uuid":"776376064","full_name":"themusharraf/MVC","owner":"themusharraf","description":"Python veb-ilovalarida Model-View-Controller (MVC): Lego bilan tushuntirilgan  ✅","archived":false,"fork":false,"pushed_at":"2024-03-27T06:53:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T09:29:10.553Z","etag":null,"topics":["flask","flask-api","flask-application","flask-sqlalchemy","lego","mvc","mvc-architecture","python3"],"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/themusharraf.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":"2024-03-23T10:34:45.000Z","updated_at":"2024-04-15T11:38:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"cab85163-9e9c-4981-87f6-15ff7757cceb","html_url":"https://github.com/themusharraf/MVC","commit_stats":null,"previous_names":["themusharraf/mvc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themusharraf%2FMVC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themusharraf%2FMVC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themusharraf%2FMVC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themusharraf%2FMVC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/themusharraf","download_url":"https://codeload.github.com/themusharraf/MVC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247081262,"owners_count":20880397,"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":["flask","flask-api","flask-application","flask-sqlalchemy","lego","mvc","mvc-architecture","python3"],"created_at":"2024-12-17T00:13:34.998Z","updated_at":"2026-04-28T11:04:34.308Z","avatar_url":"https://github.com/themusharraf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Model-View-Controller (MVC) in Python Web Apps: Explained With Legos\n\nThis folder contains a minimal Flask example app that supports the explanation of the MVC pattern in [Model-View-Controller (MVC) Explained – With Lego](https://realpython.com/lego-model-view-controller-python/).\n\nTo run the app, you'll need to first install [Flask](https://flask.palletsprojects.com/), preferably into a [virtual environment](https://realpython.com/python-virtual-environments-a-primer/):\n\n```sh\n(venv) $ python -m pip install Flask \n```\n\nThen, you can start the Flask app by executing `app.py`:\n\n```sh\n(venv) $ python app.py\n```\n\nWhen you make a request in your browser by typing the URL of your localhost and port 8000, you'll see how Flask renders the single view that this web app defines.\n\n---\n\n**Note:** The SQLite database file was created by running `create_db.py`. You can modify this file to change the content in the database. Then run the script to update the database:\n\n```sh\n(venv) $ python create_db.py\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemusharraf%2Fmvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemusharraf%2Fmvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemusharraf%2Fmvc/lists"}