NewsWorld-django

by yasinkbas

GitHub Readme.md

NewsWorld-api

TODO:

  • initial project
Scheduler
  • Get data from channels and write these the models in 5 minitues every day
  • Write these data to models
  • Get News
  • Add configure file
Make Models
  • News(:id,:author,:channel,:title,:background_image, :url,:description,:content,:date,:comments,:liked_count,:unliked_count)
  • Comment(:id,:ip,:username,:date,:content,:liked_count,:unliked_count)
  • Abstract user from django user
Create API
  • implement DRF
  • make serializer for all models News (get), comment (get) and (set)
  • make viewsets for all models
  • make routers for all models
  • make api for User model
Auth
  • Register and Login
  • Register with Facebook
  • Register with Twitter
  • Register with Gmail
  • Get user IP and add tp ip field of comment model
Languages
  • Add news models for TR, EN, FR
  • Add Categories for these languages [business,entertainment,general,health,science,sports,technology]
  • Write service and write data to db
Pagination
  • Get 100 news on a request
  • Get next and previus 100 news amount url
Query Django Filter
  • Add query for each one language
  • Add query for each one category in this language
  • Add query for title (icontains)
Heroku
  • Make this project convenient for heroku

Deploy