Quickie sorting app.
make test
to run all unit tests with coveragemake lint
to run various static analysis tools against codemake fmt
to re-format the codemake main
to run commandline file formatter- First prompts for filename
- Then prompts for sorting option
- 1: Email, descending; then last name, ascending, if there are email collisions
- 2: Birth date, ascending
- 3: Last name, descending
make web
starts simple webserver listening on port 4000 with four endpoints:POST /records
takes a single line of plain text, formatted like one of the three input files in testGET /records/email
returns the records in the system sorted by email, ascendingGET /records/birthdate
returns the records in the system sorted by birth date, ascendingGET /records/name
returns the records in the system sorted by last name, ascending