# DRF Blog Bridger
## Introduction
DRF Blog Bridger is a simple tool that allows Django Rest Framework Developers to set up a simple blog API without worrying about the underlying code. The tool takes care of things like CRUD operations for blog posts, as well as the comment feature for each post.
## Getting Started
The following instructions will help you install DRF Blog Bridger on your local system and have it running. You can read the [full documentation on Read The Docs](https://drf-blog-bridger.readthedocs.io/en/latest/).
### Prerequisites
- Python 3.8 or higher
- Pip
- Django Rest Framework
### Installation and Setup
1. Install the package with:
```bash
pip install drf_blog_bridger
```
2. Include the following settings in your `settings.py` file:
```python
INSTALLED_APPS = [
'blog_bridger_drf',
'rest_framework',
]
REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES':[
'rest_framework.permissions.IsAuthenticatedOrReadOnly',
]
}
```
3. Include the following in your project-level `urls.py` file:
```python
path('api/posts/', include('blog_bridger_drf.urls')),
```
4. Run `python manage.py migrate` to migrate the models into your database. You should read the [API reference](https://drf-blog-bridger.readthedocs.io/en/latest/api_docs/) to understand how the endpoints work.
Raw data
{
"_id": null,
"home_page": null,
"name": "drf-blog-bridger",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "djangorestframework, blog, drf, django, posts",
"author": "Ademola Thompson",
"author_email": "ademolathompson5@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c5/da/e423be2b201912ba9b381168a1a399979565dfd632a94f8d0782facec2f8/drf-blog-bridger-1.0.3.tar.gz",
"platform": null,
"description": "# DRF Blog Bridger\r\n\r\n## Introduction\r\n\r\nDRF Blog Bridger is a simple tool that allows Django Rest Framework Developers to set up a simple blog API without worrying about the underlying code. The tool takes care of things like CRUD operations for blog posts, as well as the comment feature for each post.\r\n\r\n## Getting Started\r\n\r\nThe following instructions will help you install DRF Blog Bridger on your local system and have it running. You can read the [full documentation on Read The Docs](https://drf-blog-bridger.readthedocs.io/en/latest/).\r\n\r\n### Prerequisites\r\n\r\n- Python 3.8 or higher\r\n- Pip\r\n- Django Rest Framework\r\n\r\n### Installation and Setup\r\n1. Install the package with:\r\n\r\n ```bash\r\n pip install drf_blog_bridger\r\n ```\r\n\r\n2. Include the following settings in your `settings.py` file:\r\n ```python\r\n INSTALLED_APPS = [\r\n\r\n 'blog_bridger_drf',\r\n 'rest_framework',\r\n ]\r\n\r\n REST_FRAMEWORK = {\r\n 'DEFAULT_PERMISSION_CLASSES':[\r\n 'rest_framework.permissions.IsAuthenticatedOrReadOnly',\r\n ]\r\n }\r\n ```\r\n3. Include the following in your project-level `urls.py` file:\r\n ```python\r\n path('api/posts/', include('blog_bridger_drf.urls')),\r\n ```\r\n4. Run `python manage.py migrate` to migrate the models into your database. You should read the [API reference](https://drf-blog-bridger.readthedocs.io/en/latest/api_docs/) to understand how the endpoints work.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A DRF app that provides CRUD endpoints for a blog app.",
"version": "1.0.3",
"project_urls": null,
"split_keywords": [
"djangorestframework",
" blog",
" drf",
" django",
" posts"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "47aa5c14f91ea8b5c0045f80aec4774a9281f30d8a6801dfd326fce7d61f22d3",
"md5": "73cb59c45b72b08eced875af077cae12",
"sha256": "1657b5229ab224f8f9f66c8bdf2bd6b161736be29b47ebde6eee2470c1022799"
},
"downloads": -1,
"filename": "drf_blog_bridger-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "73cb59c45b72b08eced875af077cae12",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 11521,
"upload_time": "2024-04-06T04:36:45",
"upload_time_iso_8601": "2024-04-06T04:36:45.743463Z",
"url": "https://files.pythonhosted.org/packages/47/aa/5c14f91ea8b5c0045f80aec4774a9281f30d8a6801dfd326fce7d61f22d3/drf_blog_bridger-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c5dae423be2b201912ba9b381168a1a399979565dfd632a94f8d0782facec2f8",
"md5": "1f048c1de084e68d33f8cb2471c6e45f",
"sha256": "b6c54ac574257165a4cb7dcb3af82c84c52c0a12b6a24d9aa0ad6a3d96edf691"
},
"downloads": -1,
"filename": "drf-blog-bridger-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "1f048c1de084e68d33f8cb2471c6e45f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 7936,
"upload_time": "2024-04-06T04:36:47",
"upload_time_iso_8601": "2024-04-06T04:36:47.576106Z",
"url": "https://files.pythonhosted.org/packages/c5/da/e423be2b201912ba9b381168a1a399979565dfd632a94f8d0782facec2f8/drf-blog-bridger-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-06 04:36:47",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "drf-blog-bridger"
}