Coogger Update | Coogger API and Now It is Faster.
Repository
https://github.com/coogger/coogger
Bug Fixes
- What was the issues ?
- Coogger was too slow, the main page was opening at 42 seconds.
- Detail page too slow, the page was opening at 20-30 seconds.
- User page too slow, the page was opening 1-1.30 minute.
- What was the solution?
There was no JavaScript in the project, I did almost everything on the server side with python. Template tags, renders etc. so the server is overworked and tired, and steem.py is slower than steem.js. I made a decision to reduce the work I did with python, many operations are now done with steem.js, thus
- home page
- detail page and
- user page
It can be opened in 1-2 seconds.
New Features
What features did I add?
- There were some API services that might be needed at the moment like users and contents.
Because of this API service, our cooggerup bot will now be faster and more convenient.
you can easily check whether your content is approved or not, and other content information.
and you can see which users using of cooggerApi addresses
- /api/users
- /api/contents
- There are 8 content categories.
These categories are development,design, graphic,idea,question ,answer,information sharing,tutorial content,translation, discussion.
How did you implement them?
made using django rest, django rest is an application that allows you to build your progeny api, you can quickly make api with the rest. django-rest-framework
In this section, the part executed with python is using to steem.js instead, so detail page is faster.
Set in this section in the content categories.The same is done on the detail page here too.
- Technology Stack
- New technology added to the project , http://www.django-rest-framework.org/
GitHub Account
https://github.com/hakancelik96
Hayırlı olsun hocam 😃
Saolun elimimden geldiğince geliştirmeye devam ediyorum. :))
Thank you for your contribution. Please try to improve the formatting of the post also commenting the code would be appreciated.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Hey @hakancelik
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Congratulations @hakancelik! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard!
Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes