Skip to content

m-atharkhan/LoyalCustomers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Loyal Customer Finder

Overview

This project identifies "loyal customers" based on log files from two different days. A loyal customer is defined as a customer who:

  1. Visited the website on both days.
  2. Visited at least two unique pages across the two days.

Folder Structure

LoyalCustomers/
│
├── logs/
│   ├── day1.json      # Log file for Day 1
│   └── day2.json      # Log file for Day 2
│
├── src/
│   ├── index.js       # Main JavaScript code
│
└── README.md          # Documentation (This file)

//Compile and run
npm start

About

This repository is designed to identify "loyal customers" based on the following criteria: Criterion (a): The customer visited the website on both Day 1 and Day 2. Criterion (b): They visited at least two unique pages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors