Eigen Tech Test
A system built for deriving the most popular words within one or more docs.
It’s all pretty straight forward, but a few notes:
- In reality, my actual approach would’ve been vastly different. Having to handle human content/grammar is incredibly difficult, so I would’ve used something established like SyntaxNet
- I didn’t spend much time on security, so the odd hole wouldn’t surprise me
- I stayed away from frameworks etc for the sake of clarity and ease of set up - everything here is original except /Medoo and JQuery
- To possibly save you the hassle of setting up the DataBase, there are screenshots in /db/screenshots for you to get an overview, although the SQL is there if you want it
- The Text Editor bit was somewhat over-reaching - I was hoping that working with text editing would be less painful these days, but sadly not! So it’s pretty hacky (a presentation layer div positioned directly over the edited div), but does a job. Could be extended no end, with auto suggestions both while typing and once finished
- Most stuff of interest will be found in /api/docs/post.php and js/script.js
- Developed in Chrome on a Mac, and not done much cross browser testing, but seems okay on Safari & iOS.
Download source files
See the site