{"id":28166309,"url":"https://github.com/syedt1/blogpost_mvc","last_synced_at":"2025-05-15T13:12:23.061Z","repository":{"id":290761617,"uuid":"975473541","full_name":"SyedT1/blogpost_mvc","owner":"SyedT1","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-15T06:34:54.000Z","size":2083,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T07:32:20.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"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/SyedT1.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-30T11:22:23.000Z","updated_at":"2025-05-15T06:34:57.000Z","dependencies_parsed_at":"2025-05-15T07:36:45.480Z","dependency_job_id":null,"html_url":"https://github.com/SyedT1/blogpost_mvc","commit_stats":null,"previous_names":["syedt1/blogpost_mvc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyedT1%2Fblogpost_mvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyedT1%2Fblogpost_mvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyedT1%2Fblogpost_mvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyedT1%2Fblogpost_mvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyedT1","download_url":"https://codeload.github.com/SyedT1/blogpost_mvc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346620,"owners_count":22055809,"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":[],"created_at":"2025-05-15T13:11:56.370Z","updated_at":"2025-05-15T13:12:23.054Z","avatar_url":"https://github.com/SyedT1.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blogpost\n\nProject template for [BlackSheep](https://github.com/Neoteroi/BlackSheep)\nweb framework to start Web APIs.\n\n## Getting started\n\n1. create a Python virtual environment\n2. install dependencies\n3. run the application\n\n### For Linux and Mac\n\n```bash\npython -m venv venv\n\nsource venv/bin/activate\n\npip install -r requirements.txt\n\npython dev.py\n```\n\n### For Windows\n\n```bash\npy -3.13 -m venv venv\n\nvenv\\Scripts\\activate\n\npip install -r requirements.txt\n\npython dev.py\n```\n\n### Env variables\n\nTo test applying a different color to the top section, set an env variable\n`BG_COLOR` with a valid value for a CSS color.\n\n```bash\nBG_COLOR=\"#fd7e14\" python dev.py\n```\n\nTo test serving the application at a different path prefix, set an env variable\n`APP_ROUTE_PREFIX` with the desired prefix. This feature is available since\nBlackSheep 2.1.0, and can be useful when using a proxy server and path based\nrouting.\n\n```bash\nAPP_ROUTE_PREFIX=\"orange\" python dev.py\n```\n\n### Docker\n\nBuild an image using the example image.\n\n```bash\ndocker build -t mvcdemo .\n```\n\nRun the image once built, for example to map from the host `8080`:\n\n```bash\ndocker run --rm -p 8080:80 mvcdemo\n```\n\nTo test running with customizations to test the application at a different\npath:\n\n```bash\ndocker run --name mvcdemo --rm -p 8080:80 -e BG_COLOR='#fd7e14' -e APP_ROUTE_PREFIX='orange' mvcdemo\n```\n\nThen navigate to [http://localhost:8080/orange/](http://localhost:8080/orange/).\n\nTo test using the image from Docker Hub:\n\n```bash\ndocker run --name mvcdemo --rm -p 8080:80 \\\n    -e BG_COLOR='#fd7e14' \\\n    -e APP_ROUTE_PREFIX='orange' \\\n    robertoprevato/mvcdemo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyedt1%2Fblogpost_mvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyedt1%2Fblogpost_mvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyedt1%2Fblogpost_mvc/lists"}