{"id":21149972,"url":"https://github.com/pierre-loic/flask_ajax","last_synced_at":"2026-05-04T16:38:49.338Z","repository":{"id":147761904,"uuid":"169220734","full_name":"Pierre-Loic/Flask_AJAX","owner":"Pierre-Loic","description":"A basic example of a Flask application with AJAX","archived":false,"fork":false,"pushed_at":"2019-07-19T07:06:10.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T08:08:48.152Z","etag":null,"topics":["ajax","flask","html5","jinja2","jquery","python"],"latest_commit_sha":null,"homepage":null,"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/Pierre-Loic.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":"2019-02-05T10:08:06.000Z","updated_at":"2019-07-19T07:06:11.000Z","dependencies_parsed_at":"2023-05-27T10:45:45.170Z","dependency_job_id":null,"html_url":"https://github.com/Pierre-Loic/Flask_AJAX","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/Pierre-Loic%2FFlask_AJAX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pierre-Loic%2FFlask_AJAX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pierre-Loic%2FFlask_AJAX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pierre-Loic%2FFlask_AJAX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pierre-Loic","download_url":"https://codeload.github.com/Pierre-Loic/Flask_AJAX/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243589656,"owners_count":20315547,"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":["ajax","flask","html5","jinja2","jquery","python"],"created_at":"2024-11-20T09:48:50.969Z","updated_at":"2026-05-04T16:38:44.241Z","avatar_url":"https://github.com/Pierre-Loic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask_AJAX\n## Basic example of a Flask application with AJAX\nThis is a basic example to understand how you can use Flask with AJAX with the framework Jquery. The example is divided in 6 small steps in order to understand how data are sent from the front-end to the back-end and from the back-end to the front-end.\n## Technologies used :\n* Python with Flask\n* HTML with Jinja2\n* Javascript with Jquery\n* Wikipedia API\n## Steps of the example :\n* STEP 1 (run.py)\nThe user opens the home page\n* STEP 2 (main.html)\nThe user fills the input box with a word\n* STEP 3 (main.html)\nAn AJAX request is sent to the url /test_ajax/\n* STEP 4 (run.py)\nData are collected from the request and sent to an API\n* STEP 5 (run.py)\nAPI Data are sent back to the template\n* STEP 6 (main.html)\ndiv#reponse is updated with API data \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierre-loic%2Fflask_ajax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierre-loic%2Fflask_ajax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierre-loic%2Fflask_ajax/lists"}