Skip to content
View itssachinkr's full-sized avatar

Block or report itssachinkr

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
itssachinkr/README.md
  • 👋 Hi, I’m Sachin
  • 👀 I’m interested in Web Development, Competitive Programming
  • 🌱 I’m currently learning React
flowchart TD
    A[Start] --> B[Initialize searchFields]
    A --> C[Initialize startDate and endDate]
    A --> D[Create base query]
    
    D --> E{Check for term}
    E -->|Yes| F[Extract terms into termList]
    F --> G[Create regex queries for each term]
    G --> H[Add to query $or]

    E -->|No| I{Check for stateFilter}
    I -->|Yes| J[Update query orderStatus]
    I -->|No| K{Check for orderId}
    H --> I
    J --> K
    
    K -->|Yes| L[Add orderId regex to query $or]
    K -->|No| M{Check for trackingId}
    L --> M
    
    M -->|Yes| N[Add trackingId regex to query $or]
    M -->|No| O{Check for city}
    N --> O
    
    O -->|Yes| P[Add city regex to query $or]
    O -->|No| Q{Check for deliveryPartnerName}
    P --> Q
    
    Q -->|Yes| R[Add deliveryPartnerName regex to query $or]
    Q -->|No| S{Check for companyName}
    R --> S
    
    S -->|Yes| T[Add companyName regex to query $or]
    S -->|No| U{Check for deliveryPartnerNumber}
    T --> U
    
    U -->|Yes| V[Add deliveryPartnerNumber regex to query $or]
    U -->|No| W[Get order count]
    V --> W

    W --> X[Get orders with trips and sub-trips]
    X --> Y[Return response with status and data]
Loading

Popular repositories Loading

  1. first-contributions first-contributions Public

    Forked from firstcontributions/first-contributions

    🚀✨ Help beginners to contribute to open source projects

  2. quick-lint-js quick-lint-js Public

    Forked from quick-lint/quick-lint-js

    quick-lint-js finds bugs in JavaScript programs

    C++

  3. layer5 layer5 Public

    Forked from layer5io/layer5

    Layer5, expect more from your infrastructure

    JavaScript

  4. cp-algorithms cp-algorithms Public

    Forked from cp-algorithms/cp-algorithms

    Algorithm and data structure articles for https://cp-algorithms.com (based on http://e-maxx.ru)

    C++

  5. itssachinkr itssachinkr Public

    Config files for my GitHub profile.

  6. voting_app voting_app Public

    JavaScript