{"id":16150276,"url":"https://github.com/lamzaone/flask-pet-adoption-app","last_synced_at":"2025-04-06T22:27:11.062Z","repository":{"id":218287050,"uuid":"742734425","full_name":"lamzaone/flask-pet-adoption-app","owner":"lamzaone","description":"Flask web app with Google OAuth2.0 and SQLite3","archived":false,"fork":false,"pushed_at":"2024-01-21T13:08:25.000Z","size":4461,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T04:43:35.864Z","etag":null,"topics":["crud","crud-app","crud-application","flask","flask-application","flask-login","flask-web","google-api","google-oauth2","oauth2","oauth2-login","pagination","sqlite3"],"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/lamzaone.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-13T07:49:04.000Z","updated_at":"2024-05-28T11:08:59.000Z","dependencies_parsed_at":"2024-05-28T14:44:48.547Z","dependency_job_id":"fec961b4-0647-4f50-827d-af01ec6ab76e","html_url":"https://github.com/lamzaone/flask-pet-adoption-app","commit_stats":null,"previous_names":["lamzaone/flask-pet-adoption-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamzaone%2Fflask-pet-adoption-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamzaone%2Fflask-pet-adoption-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamzaone%2Fflask-pet-adoption-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamzaone%2Fflask-pet-adoption-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lamzaone","download_url":"https://codeload.github.com/lamzaone/flask-pet-adoption-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247561497,"owners_count":20958725,"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":["crud","crud-app","crud-application","flask","flask-application","flask-login","flask-web","google-api","google-oauth2","oauth2","oauth2-login","pagination","sqlite3"],"created_at":"2024-10-10T00:48:27.077Z","updated_at":"2025-04-06T22:27:11.041Z","avatar_url":"https://github.com/lamzaone.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flask app for pet adoptions with google oauth2.0 login\nFlask, Flask-Login, Login with Google, App setup as Google Client\n\n1.  Installation with Pipenv:\n\n```\npipenv install\n```\n\n- Installation without Pipenv:\n\n```\npip install -r requirements.txt\n```\n\n2. Generate a SSL certificate (on windows you can use GitBash)\n```bash\nopenssl req -x509 -newkey rsa:4096 -nodes -out cert.pem -keyout key.pem -days 365\n```\n- Or, instead you could replace the last line of app.py with\n```python3\n    app.run(ssl_context=\"adhoc\", host='127.0.0.1', port='5000')\n```\n\n3. Generate Google OAuth2.0 API credentials on Google Console and store them into your system environments variables\n\n\n4. Initalize the database by running app.py for the first time:\n\n```\npython app.py\n```\n\nShould see \"Initialized the database.\"\n\n5. Run the command again to start the Flask web server locally:\n\n```\npython app.py\n```\n\n\nif the command above gives errors, try using python3 instead of python.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamzaone%2Fflask-pet-adoption-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamzaone%2Fflask-pet-adoption-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamzaone%2Fflask-pet-adoption-app/lists"}