{"id":16175160,"url":"https://github.com/app-generator/flask-learn-by-coding","last_synced_at":"2025-03-19T00:31:09.468Z","repository":{"id":100502964,"uuid":"191301171","full_name":"app-generator/flask-learn-by-coding","owner":"app-generator","description":"Flask Web Framework - Learn by Coding | AppSeed","archived":false,"fork":false,"pushed_at":"2022-10-11T10:20:08.000Z","size":7377,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-11T05:55:49.777Z","etag":null,"topics":["appseed-sample","flask","learn-by-coding"],"latest_commit_sha":null,"homepage":"https://appseed.us","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-06-11T05:37:11.000Z","updated_at":"2023-01-11T13:36:49.000Z","dependencies_parsed_at":"2023-05-15T11:15:10.633Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/flask-learn-by-coding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-learn-by-coding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-learn-by-coding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-learn-by-coding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fflask-learn-by-coding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/flask-learn-by-coding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244331767,"owners_count":20435997,"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":["appseed-sample","flask","learn-by-coding"],"created_at":"2024-10-10T04:44:15.355Z","updated_at":"2025-03-19T00:31:09.463Z","avatar_url":"https://github.com/app-generator.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learn Flask by Coding\n\nOpen-source project provided by AppSeed to help beginners accommodate faster with Flask. For newcomers, Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications.\n\n\u003cbr /\u003e \n\n\u003e 🚀 `PROMO`: **[Junior Developers Starter KIT](https://www.creative-tim.com/product/buy/bundle/junior-bundle?AFFILIATE=128200)** `85%OFF`\n\nThe package includes a `rock-solid collection of premium assets` (**Kits \u0026 Dashboards**) that can be used to build eye-catching portfolios and web apps in no time.\n\n[![Junior Developers Starter KIT](https://user-images.githubusercontent.com/51854817/195055646-e55200cd-0ddd-4bdd-aded-0d4e4479789b.png)](https://www.creative-tim.com/product/buy/bundle/junior-bundle?AFFILIATE=128200)\n\n\u003cbr /\u003e \n\n## Getting Started with Flask\n\n\u003e Create a Virtual Environment\n\n```bash\n$ # Virtualenv modules installation (Unix-based systems)\n$ virtualenv env\n$ source env/bin/activate\n$\n$ # Virtualenv modules installation (Windows-based systems)\n$ # virtualenv env\n$ # .\\env\\Scripts\\activate\n```\n\n\u003cbr /\u003e\n\n\u003e Install `Flask`\n\n```bash\n$ pip install flask\n```\n\n\u003cbr /\u003e\n\n\u003e Edit your first Flask app `main.py`\n\n```python\nfrom flask import Flask\napp = Flask(__name__)\n\n@app.route('/')\ndef hello_world():\n    return 'Hello from Flask!'\n```\n\n\u003cbr /\u003e\n\n\u003e Setup the environment\n\n```bash\n$ # Set the FLASK_APP environment variable\n$ (Unix/Mac) export FLASK_APP=main.py\n$ (Windows) set FLASK_APP=main.py\n$ (Powershell) $env:FLASK_APP = \".\\main.py\" \n```\n\n\u003cbr /\u003e\n\n\u003e Start the app\n\n```bash\n$ flask run\n$\n$ # Access the app in browser: http://127.0.0.1:5000/\n```\n\n\u003cbr /\u003e\n\n--- \nLearn Flask by Coding - Provided and actively supported by AppSeed [App Generator](https://appseed.us)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fflask-learn-by-coding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fflask-learn-by-coding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fflask-learn-by-coding/lists"}