{"id":47940136,"url":"https://github.com/rachelannec/simple-form","last_synced_at":"2026-04-04T08:00:16.754Z","repository":{"id":340309583,"uuid":"1165457632","full_name":"rachelannec/simple-form","owner":"rachelannec","description":"simple form; foundational for flask, sqlite, etc","archived":false,"fork":false,"pushed_at":"2026-02-24T13:19:42.000Z","size":426,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-24T13:47:13.713Z","etag":null,"topics":["bootstrap","flask","flask-application","flask-sqlalchemy","sqlite3"],"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/rachelannec.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-24T07:26:05.000Z","updated_at":"2026-02-24T13:19:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rachelannec/simple-form","commit_stats":null,"previous_names":["rachelannec/simple-form"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rachelannec/simple-form","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rachelannec%2Fsimple-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rachelannec%2Fsimple-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rachelannec%2Fsimple-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rachelannec%2Fsimple-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rachelannec","download_url":"https://codeload.github.com/rachelannec/simple-form/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rachelannec%2Fsimple-form/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31392188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: 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","flask","flask-application","flask-sqlalchemy","sqlite3"],"created_at":"2026-04-04T08:00:15.006Z","updated_at":"2026-04-04T08:00:16.740Z","avatar_url":"https://github.com/rachelannec.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SIMPLE FORM - Flask\nA lightweight web application built with **Flask** and **SQLite** that captures user data through a semantic HTML5 form and persists it in a relational database. This repo focuses on **server-side form processing**, **relational data storage** in a single-table schema, and **dynamic UI rendering** (bootstrap 🔛🔝). \n\n![Flask App Demo](./demo/form-demo.gif)\n\n## Tech Stack\n- Python, Flask\n- SQLite, Flask-SQLAlchemy\n- HTML, Jinja, Bootstrap\n\n## Installation \u0026 Setup\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/rachelannec/simple-form.git\n   cd form-db\n   ```\n2. **Set up a virtual environment**\n    ```bash\n    python -m venv venv\n    # Windows\n    venv\\Scripts\\activate\n    # Mac/Linux\n    source venv/bin/activate\n    ```\n3. Install dependencies:\n   ```Bash\n    pip install -r requirements.txt\n    ```\n4. Run the app:\n   ```Bash\n    python app.py\n    ````\n    \u003e Tho, I myself, use `flask run` 🙈.\n\n***The app will be available at http://127.0.0.1:5000.***\n\n## Database Location\n\nBy default, the SQLite database is handled as follows:\n\n* **File Name:** `form_data.db`\n* **Location:** The file is automatically created in the `/instance` folder (or the root directory) upon the first successful run of the application.\n* **Persistence:** Because SQLite is file-based, your data stays saved even if you restart the Flask server.\n\n\u003e The `.db` file is excluded from version control via `.gitignore` to ensure that local development data is not accidentally pushed to GitHub. 🙉\n\n## SAMPLE METADATA/SCHEMA\nThe database consists of a single table `FormData` with the following structure. You may put the following command on the terminal youself. \n```bash\nsqlite3 instance/form_data.db\nsqlite\u003e .header on  \nsqlite\u003e .mode box\nsqlite\u003e PRAGMA table_info(form_data);\n┌─────┬──────────┬──────────────┬─────────┬────────────┬────┐\n│ cid │   name   │     type     │ notnull │ dflt_value │ pk │\n├─────┼──────────┼──────────────┼─────────┼────────────┼────┤\n│ 0   │ id       │ INTEGER      │ 1       │            │ 1  │\n│ 1   │ username │ VARCHAR(80)  │ 1       │            │ 0  │\n│ 2   │ email    │ VARCHAR(120) │ 0       │            │ 0  │\n└─────┴──────────┴──────────────┴─────────┴────────────┴────┘\n```\n\n- `cid` means column id\n- `notnull`: `1` means field is required, `0` means it can be empty\n- `pk`: `1` means its a primary key\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frachelannec%2Fsimple-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frachelannec%2Fsimple-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frachelannec%2Fsimple-form/lists"}