DEV Community

Sandor Dargo
Sandor Dargo

Posted on

2

DevAnalytics at DOHackathon: backend returning useful data

This day I made some small changes and a spectacular improvement.

I integrated half of the statistics calculation of DEV Analytics to the Flask backend.

In addition, now you can pass from the UI your API Key and it will retrieve all the available statistics in a few secs and you'll get the data dumped on the screen.

Data is coming in

For tomorrow, I have no big plans, I just want to finish the backend with the rest of the statistics.

Top comments (3)

Collapse
 
qainsights profile image
NaveenKumar Namachivayam ⚡

Hi, Thanks for Dev Analytics. I am developing Flask app. But when I deploy I am getting error share.qainsights.com/8Lun9PRB. It is not getting deployed. Any insights will be helpful for me :). Thanks in advance. 🙏

Collapse
 
sandordargo profile image
Sandor Dargo

Hi, thanks for your comment.
I was following this tutorial:
digitalocean.com/community/tutoria...

There was one thing I had to change though, I had to remove pkg-resources from requiremens.txt.
So now you also have the source code:
github.com/sandordargo/dev-analyti...

Collapse
 
qainsights profile image
NaveenKumar Namachivayam ⚡

Thanks Sandor. I was able to figure it out after spending couple of hours :) I installed waitress and exposed the port. 🙏

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay