{"id":19793010,"url":"https://github.com/hit07/flask-wtf-bs","last_synced_at":"2025-07-05T09:34:52.358Z","repository":{"id":227934597,"uuid":"772755969","full_name":"Hit07/Flask-WTF-BS","owner":"Hit07","description":"This repository features two Flask projects: LoginForm and Cafe, showcasing advanced forms with Flask-WTF, Bootstrap-Flask integration, and CSV manipulation. Explore Flask-WTF for form validation and Bootstrap for enhanced user experience.","archived":false,"fork":false,"pushed_at":"2024-03-16T04:07:55.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T04:33:14.505Z","etag":null,"topics":["bootstrap","flask-wtforms"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Hit07.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-15T20:41:08.000Z","updated_at":"2024-06-25T06:58:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb4535bf-19b3-41af-908c-a8e855407eac","html_url":"https://github.com/Hit07/Flask-WTF-BS","commit_stats":null,"previous_names":["hit07/project_10"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hit07%2FFlask-WTF-BS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hit07%2FFlask-WTF-BS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hit07%2FFlask-WTF-BS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hit07%2FFlask-WTF-BS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hit07","download_url":"https://codeload.github.com/Hit07/Flask-WTF-BS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241133057,"owners_count":19915321,"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":["bootstrap","flask-wtforms"],"created_at":"2024-11-12T07:08:36.721Z","updated_at":"2025-02-28T09:48:53.856Z","avatar_url":"https://github.com/Hit07.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Projects: \n\nThis repository contains two Flask projects: LoginForm and Cafe. Each project focuses on different functionalities but shares a common Flask backend.\n\n## LoginForm\n\n### Goals\nThe primary goal of this project is to build advanced forms using Flask-WTF extension. This project introduces Flask developers to Flask-WTF for easy form validation, less code, and built-in CSRF protection.\n\n### Secrets\nThe end result of this project is a website that holds some secrets. Access to these secrets is restricted by requiring the correct username and password.\n\n## Cafe\n\n### Goals\nThis project aims to utilize Flask-WTF, Bootstrap-Flask, and Bootstrap classes to enhance the user experience of a website displaying cafe information. It also involves revising CSV manipulation skills.\n\n### Requirements\n1. The home page should resemble the provided style using the `css/styles.css`.\n2. The `/cafes` route should render a page (`cafes.html`) with a Bootstrap table displaying data from `cafe-data.csv`.\n3. The location URL should be rendered as an anchor tag within the table.\n4. Clicking \"Show Me!\" on the home page should navigate to `cafes.html`.\n5. The secret route `/add` should render `add.html`.\n6. Use Flask-WTF's `render_form` to create a form in `add.html` with validation for the location URL.\n7. Upon successful form submission, data should be appended to `cafe-data.csv`.\n\n### Additional Notes\n- Ensure all navigation links within the website are functional.\n- Read more about Flask-WTF [here](https://flask-wtf.readthedocs.io/en/1.0.x/quickstart/).\n- Bootstrap-Flask documentation can be found [here](https://bootstrap-flask.readthedocs.io/en/stable/macros/#render-form).\n- For URL validation, refer to WTForms [validators](https://wtforms.readthedocs.io/en/2.3.x/validators/) documentation.\n- Switch off client-side validation with `quick_forms` as per [this Stack Overflow post](https://stackoverflow.com/a/61166621/10557313).\n\n\n## How to Run\n1. Clone the repository.\n2. Navigate to the project directory (`LoginForm` or `Cafe`).\n3. Install dependencies (`pip install -r requirements.txt`).\n4. Run the Flask application (`python app.py`).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhit07%2Fflask-wtf-bs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhit07%2Fflask-wtf-bs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhit07%2Fflask-wtf-bs/lists"}