{"id":16771563,"url":"https://github.com/meysam81/samplecrud","last_synced_at":"2026-01-21T21:32:35.253Z","repository":{"id":39649759,"uuid":"259034954","full_name":"meysam81/SampleCRUD","owner":"meysam81","description":"An example of a good coding practice","archived":false,"fork":false,"pushed_at":"2024-10-09T05:55:51.000Z","size":20,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-13T22:35:59.380Z","etag":null,"topics":["best-practice","clean-architecture","coverage","python","testing","tox"],"latest_commit_sha":null,"homepage":null,"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/meysam81.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":"2020-04-26T13:16:50.000Z","updated_at":"2024-07-11T03:49:40.000Z","dependencies_parsed_at":"2024-11-22T15:33:49.107Z","dependency_job_id":"622904bd-f73e-4d5c-a4b9-445793b80122","html_url":"https://github.com/meysam81/SampleCRUD","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/meysam81/SampleCRUD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2FSampleCRUD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2FSampleCRUD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2FSampleCRUD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2FSampleCRUD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meysam81","download_url":"https://codeload.github.com/meysam81/SampleCRUD/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2FSampleCRUD/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28644056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["best-practice","clean-architecture","coverage","python","testing","tox"],"created_at":"2024-10-13T06:28:31.666Z","updated_at":"2026-01-21T21:32:35.237Z","avatar_url":"https://github.com/meysam81.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample CRUD\n\n[![Build Status](https://travis-ci.org/meysam81/SampleCRUD.svg?branch=master)](https://travis-ci.org/meysam81/SampleCRUD)\n[![Coverage Status](https://coveralls.io/repos/github/meysam81/SampleCRUD/badge.svg)](https://coveralls.io/github/meysam81/SampleCRUD)\n\nThis repository is an example of a good coding practice for several reasons.\n\n* It adheres to [Clean Architecture](https://medium.com/amerandish/clean-architecture-simplified-223f45e1a10),\nand in result SOLID. ❤\n* It has tests all over the place. 😊\n* TODO: It has CI/CD integrated. 😍\n* It uses [ORM](https://en.wikipedia.org/wiki/Object-relational_mapping) which\nis optimized with the help of dozens of awesome developers. 🙏\n* It uses different environments for deploying (e.g. dev, prod, test). 🎶\n* It was written by a cool developer. Just kidding. Or am I? ©®😎\n* It has README for lord's sake. ✔\n\nThe full story is explained\n[right here](https://medium.com/python-in-plain-english/how-to-write-tests-for-your-python-web-app-f6c6993abe36).\nCheck it out for the explanation.\n\nAlso shout out to the [best guys out there](https://github.com/gothinkster/flask-realworld-example-app)\nfor sharing their knowledge with the rest of us. ™\n\n## How to test the app?\n\nThere are proper tests in place to check the integrity of the app. In order to run the\nautomation tests, simply install and run `tox`.\n\nIf you're interested in seeing the app live in action, run the following command in your\nterminal:\n\n```bash\ndocker run --rm -p 8000:8000 ghcr.io/meysam81/sampleapp\n```\n\nAnd then, here are the URIs you can interact with the app:\n\n| URI                           | Methods                  |\n| ----------------------------- | ------------------------ |\n| `/api/v1/books`               | `GET`, `POST`            |\n| `/api/v1/books/\u003cint:book_id\u003e` | `GET`, `PATCH`, `DELETE` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeysam81%2Fsamplecrud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeysam81%2Fsamplecrud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeysam81%2Fsamplecrud/lists"}