{"id":18385989,"url":"https://github.com/nasirovx/neonews","last_synced_at":"2026-01-07T02:05:12.606Z","repository":{"id":248412091,"uuid":"828614130","full_name":"nasirovx/NeoNews","owner":"nasirovx","description":"📰NeoNews is a backend project designed to provide APIs for news management, including authorization, authentication, favorites functionality, and Swagger documentation. The project is containerized using Docker for easy deployment.","archived":false,"fork":false,"pushed_at":"2024-07-24T22:11:35.000Z","size":28796,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T02:22:43.399Z","etag":null,"topics":["deployment","django-rest-framework","docker","favorites","news","newsapi","swagger"],"latest_commit_sha":null,"homepage":"https://my-sait-b7cc-ls4ge41bs-nasirovxs-projects.vercel.app/","language":"Python","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/nasirovx.png","metadata":{"files":{"readme":"README.md","changelog":"news/__init__.py","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}},"created_at":"2024-07-14T17:12:05.000Z","updated_at":"2024-08-23T10:44:24.000Z","dependencies_parsed_at":"2024-07-25T00:37:26.549Z","dependency_job_id":null,"html_url":"https://github.com/nasirovx/NeoNews","commit_stats":null,"previous_names":["nasirovx/neonews"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasirovx%2FNeoNews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasirovx%2FNeoNews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasirovx%2FNeoNews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasirovx%2FNeoNews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nasirovx","download_url":"https://codeload.github.com/nasirovx/NeoNews/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245729102,"owners_count":20662805,"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":["deployment","django-rest-framework","docker","favorites","news","newsapi","swagger"],"created_at":"2024-11-06T01:19:51.296Z","updated_at":"2026-01-07T02:05:12.543Z","avatar_url":"https://github.com/nasirovx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📰 NeoNews\nNeoNews is a backend project designed to provide APIs for news management, including authorization, authentication, favorites functionality, and Swagger documentation. The project is containerized using Docker for easy deployment.\n \n## 🚀 Features\nNews API: Endpoints for creating, retrieving, updating, and deleting news articles.\nAuthorization \u0026 Authentication: Secure access with JWT.  \nFavorites: API endpoints for managing favorite news articles.\nSwagger: API documentation with Swagger UI.\nDocker: Containerized application for easy deployment. \n\n## 📁 Project Structure \n\n   neonews/\n   ├── main/\n   │   ├── __pycache__/\n   │   ├── migrations/\n   │   ├── templates/\n   │   ├── __init__.py\n   │   ├── admin.py\n   │   ├── apps.py\n   │   ├── models.py\n   │   ├── tests.py\n   │   ├── urls.py\n   │   ├── views.py\n   ├── neonews/\n   │   ├── __pycache__/\n   │   ├── __init__.py\n   │   ├── asgi.py\n   │   ├── settings.py\n   │   ├── urls.py\n   │   ├── wsgi.py\n   ├── news/\n   │   ├── __pycache__/\n   │   ├── migrations/\n   │   ├── __init__.py\n   │   ├── admin.py\n   │   ├── apps.py\n   │   ├── models.py\n   │   ├── serializers.py\n   │   ├── tests.py\n   │   ├── urls.py\n   │   ├── views.py\n   ├── news_images/\n   ├── venv/\n   │   ├── Include/\n   │   ├── Lib/\n   │   ├── Scripts/\n   │   ├── pyvenv.cfg\n   ├── .dockerignore\n   ├── db.sqlite3\n   ├── Dockerfile\n   ├── manage.py\n   ├── requirements.txt\n   ├── rundocker.sh\n   ├── runsite.sh\n\n## 🛠️ Setup and Installation\nPrerequisites\nDocker\nDocker Compose\nInstallation\n1. Clone the repository:\n   git clone https://github.com/nasirovx/neonews.git\n   cd neonews\n2. Create and activate a virtual environment:\n   python -m venv venv\n   source venv/bin/activate   # On Windows use `venv\\Scripts\\activate`\n3. Install the dependencies:\n   pip install -r requirements.txt\n4. Run the application with Docker:\n   docker-compose up --build\n\n## 🧩 Usage\n   Access the API at http://localhost:8000/news/.\n   Access Swagger UI for API documentation at http://localhost:8000/swagger/.\n## 🗂️ API Endpoints\n## News\n   GET /news/list/ - List all news articles\n   GET /news/detail/\u003cid\u003e/ - Retrieve a specific news article\n   GET /news/category/ - List all category articls\n\n## Authentication\nPOST /token/ - Obtain JWT token\nPOST /token/refresh/ - Refresh JWT token\n## Favorites\nGET //favorites/ - List all favorite news articles\nPOST /favorites/ - Add a news article to favorites\nDELETE /favorites/\u003cid\u003e/ - Remove a news article from favorites\n\n## 📜 License\nThis project is licensed under the MIT License.\n\n## ✨ Acknowledgements\nThis project was purchased and further developed by nasirovx.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnasirovx%2Fneonews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnasirovx%2Fneonews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnasirovx%2Fneonews/lists"}