ad_task's People
ad_task's Issues
Add sqlite wal
Use a model for incoming parameters
Use poetry to manage dependencies
Refactoring: move the main business-logic into a service
Pass the session into the service directly.
Close session in a factory
A database session should be closed at the same place where it was opened.
Rename plural incoming fields to singular
To lowercase incoming strings
The API should work for us
, US
, Us
and etc.
API must return dynamic field: CPI
cpi = spend / installs
To add filtering capability
Filtering fields are: date from and to, channels, countries, OS
To add groupping capability
Fields: date, channel, country, OS
Refactor work with db queries in the root controller
Create package structure.
Refactor the gateway's querying logic.
Rework sorting - add new query string field.
Tests and API should have separate configuration stages
Refactoring. Move querying logic from specifications to a gateway
Async migrations?
Integrate sqlite
Set decimal precision
Integrate locust load tests
Documentation
Asynchronous DB driver
Use aiosqlite
for sqlite3
Setup for web part of the project
Prepare release
-
Readme: installation, migrations, launch. Maybe some sidenotes. Contact.
requiredpip
version >= 23
alembic upgrade head
python ./src/adjust_task/
Works both on linux and windows. -
Check installation -
Removeclass Service
. Check the other object naming. Rename the model? -
Recheck session creation -
Erase project name from the source code. -
Manually recheck api. Check swagger docs.
-
rename repo -
check on linux
Replace sqlite with postgresql
Use migrations to create a test db
Integrate sqlalchemy
Refactor the controller to use sqlalchemy Row object intead of the model.
To add sorting
Both descending and ascending
DB should get intialized by an alembic migration instead of sqlalchemy's `create_all`
It may require a layer of custom exceptions
Asynchronous controllers and dependencies
General system configuration
Setup logging
Asynchronous application server
Asynchronous tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.