{"id":20955817,"url":"https://github.com/areal060781/blog-app-unit-testing","last_synced_at":"2026-05-09T10:02:37.758Z","repository":{"id":43315199,"uuid":"270467119","full_name":"areal060781/blog-app-unit-testing","owner":"areal060781","description":"Blog application with unit testing integration","archived":false,"fork":false,"pushed_at":"2022-12-08T11:12:11.000Z","size":185,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T23:36:35.543Z","etag":null,"topics":["api-rest","blueprint","flask","flask-api","flask-mail","flask-migrate","http-auth","jwt-auth","slqalchemy","sqlite","unittest","virtualenv","wtforms-flask"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/areal060781.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}},"created_at":"2020-06-07T23:57:46.000Z","updated_at":"2023-02-14T18:59:11.000Z","dependencies_parsed_at":"2023-01-25T12:01:10.966Z","dependency_job_id":null,"html_url":"https://github.com/areal060781/blog-app-unit-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areal060781%2Fblog-app-unit-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areal060781%2Fblog-app-unit-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areal060781%2Fblog-app-unit-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areal060781%2Fblog-app-unit-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/areal060781","download_url":"https://codeload.github.com/areal060781/blog-app-unit-testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243351862,"owners_count":20276911,"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":["api-rest","blueprint","flask","flask-api","flask-mail","flask-migrate","http-auth","jwt-auth","slqalchemy","sqlite","unittest","virtualenv","wtforms-flask"],"created_at":"2024-11-19T01:21:20.139Z","updated_at":"2026-05-09T10:02:37.648Z","avatar_url":"https://github.com/areal060781.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Blogger clone\nA blogging and social networking application made with Flask, include an Application Programming Interface and implements different unit testing strategies\n\n### Includes\n* Presents an application structure that is appropriate for mediums and large applications.\n* Database migrations and data seeder\n* Email support\n* User authentication system\n* User roles and permissions\n* Blogging interface\n* Profile pages\n* Followers\n* User comments for blog posts\n* RESTful webservices\n  * Error handling\n  * User authentication (HTTPAuth, JWT)\n  * Serializing resources\n  * Pagination\n  * Tests\n* Code coverage reports\n* Web application testing\n* Web services testing\n* End to end testing with **Selenium**\n\n\n### Requirements\n* Python 3.7\n* Virtualenv\n\n### Notes\nConfigure your system so FLASK_APP and FLASK_DEBUG are set by default.\n\n### Installation\nInside the project directory, create the environment, activate it and install the requirements\n```sh\npython3 -m venv venv\n. twittervotes/bin/activate\npip install -r requirements/common.txt\npip install -r requirements/dev.txt\n```\n\nRun the migrations\n```\nflask db upgrade\n```\n\nCreate the following environment variables:\nSECRET_KEY, MAL_USERNAME, MAIL_PASSWORD\n\nRun the application as usual\n```sh\n(venv) $ flask run\n```\n\nThe unit tests can be executed as follows\n```sh\n(venv) $ flask test --coverage\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareal060781%2Fblog-app-unit-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fareal060781%2Fblog-app-unit-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareal060781%2Fblog-app-unit-testing/lists"}