-
Notifications
You must be signed in to change notification settings - Fork 0
Goddivinein/DevDynamics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Website Hit Counter System Overview This is a simple system to track visits to websites by different customers. It counts how many times each customer visits a website, ensuring each visit is counted only once per customer, even if they use multiple devices. API Endpoints 1. VisitWebsite Purpose: Track a visit to a website by a customer using a specific device. Method: POST Body (JSON): json { "customerId": "customer1", "deviceId": "deviceA", "websiteId": "website1" } Response: json { "message": "Visit tracked successfully" } 2. GetWebsiteVisitCountForCustomer Purpose: Get the number of visits a specific customer has made to a specific website. Method: GET Query Parameters: customerId (e.g., customer1) websiteId (e.g., website1) Response: json { "customer_id": "customer1", "website_id": "website1", "visit_count": 1 } 3. GetOverallWebsiteHitCount Purpose: Get the total number of visits to a specific website by all customers. Method: GET Query Parameters: websiteId (e.g., website1) Response: json { "website_id": "website1", "hit_count": 1 }
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published