GithubHelp home page GithubHelp logo

duplicatesorter's Introduction

Duplicate Sorter

Sorts out duplicates of email addresses.

++ Dependencies: [email protected]

Start server:

node duplicateSorter.js or npm start (you need to set your environment variables as well)

This now sorts emails based on a baseline expected to exist within a database - in this case MongoDB. After starting, go to

go to: http://localhost:8888/

You are given a choice of 4 different forms.

Check emails from a file: This checks all emails in file, if it does not exist, prints it on the screen

Check a single email address: checks a single email only

add a SINGLE user: adds a single email

add emails from a file: adds a list of emails.

check all emails for a particular template

If the email already exists in baseline, then it prepends: 'Duplicate' to the entry and adds to the 'duplicates.txt' file

NOTE: after EACH file submission, test.txt and duplicates.txt is only appended.

TESTS: Run 'mocha' Known Issue, does not terminate at end. must be missing a 'done' somewhere.

future considerations:

  • (done) add DB support
  • add support for additional fields in addition to email (now supports adding a reference 'template name')
  • cleanup button names, labels, instructions
  • add more info on required format of input files
  • [bug] remove quotes from 'all emails' option
  • change emaillist check to also give back list of match existing but not for template. (currently does give 100% no match)
  • selecting file from any location
  • retrieve emails without flagged ones
  • flag emails from a file rather than just individually

Meant to run locally -- probably overkill but wanted to use it as a starter to try out other technologies - Mocha, Chai... (currently using Mocha for testing)

Adding to confirm GitHub set up is working

duplicatesorter's People

Contributors

bobaleena avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.