{"id":22957096,"url":"https://github.com/kenmwaura1/zoo_blog","last_synced_at":"2026-05-09T17:32:12.681Z","repository":{"id":100856045,"uuid":"410060923","full_name":"KenMwaura1/zoo_blog","owner":"KenMwaura1","description":"a personal blogging website where you can create and share your opinions and other users can read and comment on them. Additionally, add a feature that displays random quotes to inspire your users. ","archived":false,"fork":false,"pushed_at":"2021-09-28T09:23:07.000Z","size":1396,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-01T06:48:15.623Z","etag":null,"topics":["blog","flask","flask-sqlalchemy","mdbootstrap","postgresql"],"latest_commit_sha":null,"homepage":"https://zoo-blog.herokuapp.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KenMwaura1.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":"2021-09-24T18:15:02.000Z","updated_at":"2021-09-28T09:23:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb1d3e06-dc44-4ce6-a06a-6dadbf1f546f","html_url":"https://github.com/KenMwaura1/zoo_blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KenMwaura1/zoo_blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenMwaura1%2Fzoo_blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenMwaura1%2Fzoo_blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenMwaura1%2Fzoo_blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenMwaura1%2Fzoo_blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KenMwaura1","download_url":"https://codeload.github.com/KenMwaura1/zoo_blog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenMwaura1%2Fzoo_blog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32828224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blog","flask","flask-sqlalchemy","mdbootstrap","postgresql"],"created_at":"2024-12-14T17:15:16.842Z","updated_at":"2026-05-09T17:32:12.663Z","avatar_url":"https://github.com/KenMwaura1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZOO BLOG\na personal blogging website where you can create and share your opinions and other users can read and comment on them. Additionally, add a feature that displays random quotes to inspire your users. \n\n[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)\n\n![app-logo](app/static/images/Zoo-blog-logo.png)\n\n## User story\n1. As a user, I would like to view the blog posts on the site\n2. As a user, I would like to comment on blog posts\n3. As a user, I would like to view the most recent posts\n4. As a user, I would like to an email alert when a new post is made by joining a subscription.\n5. As a user, I would like to see random quotes on the site\n6. As a writer, I would like to sign in to the blog.\n7. As a writer, I would also like to create a blog from the application.\n8. As a writer, I would like to delete comments that I find insulting or degrading.\n9. As a writer, I would like to update or delete blogs I have created.\n\n## Project Objectives\n* Your project should have a functioning authentication system\n* Your project should contain migration files for the different model structure\n* Your project must have a user model\n* Your project should consume a quotes API\n* Your project should have a comment model\n* Your project should have a profile page.\n\n\n## Showcase\n![Screenshot of app](app/static/images/Screenshot_127.png)\n## Live Site\n\n[link to deployed site](https://zoo-blog.herokuapp.com/)\n\n## Setup Instructions / Installation\n\n### Getting Started\n\n### Prerequisites\n\n- Python and pip (I am currently using 3.9.7) Any version above 3.7 should work.\n* Git installed on your machine\n* Code editor/ IDE. \n\n### Installation and Running the App\n\n1. Clone the GitHub repository\n\n    ```shell\n    git clone https://github.com/KenMwaura1/zoo_blog\n    ```\n\n2. Change into the folder\n\n    ```shell\n   cd zoo_blog\n    ```\n\n3. Create a virtual environment\n\n   ```shell\n      python3 -m venv venv \n   ```\n\n    * Activate the virtual environment\n\n   ```shell\n   source ./bin/activate\n   ```\n\n* If you are using [pyenv](https://github.com/pyenv/pyenv):\n\n  3a. Create a virtualenv\n\n   ```\n       pyenv virtualenv zoo_blog\n   ```\n\n  3b. Activate the virtualenv\n\n   ```\n   pyenv activate zoo_blog\n   ```\n\n4. Create a `.env` file and add your credentials\n\n   ```\n   touch .env \n   ```\n\n   OR Copy the included example\n\n    ```\n    cp .env-example .env \n    ```\n\n5. Add your credentials to the `.env` file\n\n\n6. Install the required dependencies\n\n   ```shell\n   pip install -r requirements.txt\n   ```\n\n7. Export `manage.py` as the default flask app in your environment\n    ```shell\n    export FLASK_APP=manage.py \n    ```\n8. Make the shell script executable\n\n    ```shell\n   chmod a+x ./run.sh\n    ```\n9. Migrate and Update the database\n    ```shell\n   flask db migrate\n   flask db upgrade\n    ```\n11. Run the app\n\n     ```shell\n    ./run.sh\n     ```\n\n    OR\n    run with the [flask-cli](https://flask.palletsprojects.com/en/2.0.x/cli/)\n\n     ```shell\n    flask run\n     ```\n\n## Tests\n\n* To run the tests:\n\n    ```shell\n  flask tests\n    ```\n\n## Technologies used\n\n* Python-3.9.7\n* Flask web framework\n* Bootstrap(Material Bootstrap 4)\n* HTML5\n* CSS3\n* Postgresql\n\n## Author\n\n[Ken Mwaura](https://github.com/KenMwaura1)\n\n## LICENSE\n\nMIT License\n\nCopyright (c) 2021 Kennedy Ngugi Mwaura\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenmwaura1%2Fzoo_blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenmwaura1%2Fzoo_blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenmwaura1%2Fzoo_blog/lists"}