Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages