{"id":22420028,"url":"https://github.com/tempehs/secure_flask_pwa_template","last_synced_at":"2025-10-15T22:30:57.638Z","repository":{"id":259689875,"uuid":"863784772","full_name":"TempeHS/Secure_Flask_PWA_Template","owner":"TempeHS","description":"A secure by design Flask Template ready for developing a PWA in VSCode or Codespaces.","archived":false,"fork":false,"pushed_at":"2025-01-29T04:26:21.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-29T05:25:09.362Z","etag":null,"topics":["boilerplate","codespaces","css","flask","html5","progressive-web-app","pwa","pwa-boilerplate","python3","template","vscode"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TempeHS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security_log.log","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-26T23:01:05.000Z","updated_at":"2025-01-29T04:26:25.000Z","dependencies_parsed_at":"2024-10-27T11:27:18.883Z","dependency_job_id":"adeda4cd-aeb0-4052-a36e-55bfd92d4a0b","html_url":"https://github.com/TempeHS/Secure_Flask_PWA_Template","commit_stats":null,"previous_names":["tempehs/secure_flask_pwa_template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TempeHS%2FSecure_Flask_PWA_Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TempeHS%2FSecure_Flask_PWA_Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TempeHS%2FSecure_Flask_PWA_Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TempeHS%2FSecure_Flask_PWA_Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TempeHS","download_url":"https://codeload.github.com/TempeHS/Secure_Flask_PWA_Template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236646158,"owners_count":19182608,"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":["boilerplate","codespaces","css","flask","html5","progressive-web-app","pwa","pwa-boilerplate","python3","template","vscode"],"created_at":"2024-12-05T16:17:27.206Z","updated_at":"2025-10-15T22:30:57.233Z","avatar_url":"https://github.com/TempeHS.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secure Flask Bootstrap PWA Template\n\nThis Flask template has been built from the ground up to be a secure Progressive Web App. It includes a secure form and Bootstrap sample components ready to be connected to a SQLite3 database. All minimum PWA standards have been integrated, and placeholder images have been provided for all the icon and image components.\n\n## Dependencies\n\n- VSCode or GitHub Codespaces (preconfigured for docker)\n- Python 3+\n- pip install Flask\n- pip install SQLite3\n- pip install bcrypt\n- pip install flask_wtf\n\n## Secure Features\n\n- Strict Content Security Policy\n  - No inline `\u003cscript\u003e\u003c/script\u003e`.\n  - Restricted `\u003ciframe\u003e` loading\n  - CORS JS blocked\n- HTML Languaged declared.\n- Meta character set declared.\n- Private folders use .folderName syntax.\n- [Bootstrap 5.3](https://getbootstrap.com/) components served local files.\n- CSRFProtect applied to form.\n- Form Pattern expression declared.\n\n## To be implemented by developers\n\n- Web content, [Bootstrap 5.3](https://getbootstrap.com/) ready\n- [SQLite](https://docs.python.org/3/library/sqlite3.html) database design and integration\n- Input sanitisation\n- Login, authentication or session management\n- Password encryption using [bcrypt](https://pypi.org/project/bcrypt/)\n- SSL Encryption\n\n## Privacy advice for developers\n\n- The app should have a privacy handling policy\n- Only data essential for the app should be collected\n- Users should be given the option to download or delete their data\n- Passwords should be encrypted, including a salt, before hashing\n\n## Security advice for developers\n\n- All inputs should be sanitised before processing or storing\n- If including login, authentication and session management should be implemented\n- SSL Encryption and HTTPS should be implemented\n- Use Jinga2 components when passing variables to the frontend\n- Use query parameters for all SQL queries\n\n## Content advice for developers\n\n- All templates are [Bootstrap 5.3](https://getbootstrap.com/) ready\n- [SQLite](https://docs.python.org/3/library/sqlite3.html) has been provided for database design\n\n\u003e [!TIP]\n\u003e Developers should [monitor Bootstrap 5.3.3 for discovered vulnerabilities](https://security.snyk.io/package/npm/bootstrap) and patch or update as needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempehs%2Fsecure_flask_pwa_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftempehs%2Fsecure_flask_pwa_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempehs%2Fsecure_flask_pwa_template/lists"}