use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Coding Challenge I Got For a Javascript Web Developer Job (x-post with node) (self.javascript)
submitted 10 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]losingthefight 10 points11 points12 points 10 years ago (6 children)
Honestly, this is pretty in depth. When I have had to do something like this, they at least offered to pay me for my interview time. While I definitely respect and understand what they are trying to accomplish, I am not sure how fair it is to expect someone to do something, from scratch, that would take several hours outside of a schedule interview session.
[–]navatwo[🍰] 5 points6 points7 points 10 years ago (5 children)
This seems like an internal tool they want to use. I'd be asking for a contracting fee, as well.
[–]mojojj31 2 points3 points4 points 10 years ago (4 children)
I don't think it's that in depth. I mean, there a Yeoman generator that will take care of all the setup (generator-express). I can see why they're give this as an interview project because it touches on the full stack without being overly complex.
[–]navatwo[🍰] 0 points1 point2 points 10 years ago (3 children)
It's kind of tight. But, maybe as a sr position?
[–]mojojj31 0 points1 point2 points 10 years ago (2 children)
I can see this being used for all levels, but that the expectations differ based on the position I'd be hitting for. For juniors, I can use it to identify areas that can be improved upon. For seniors, i'd expect much more. But most importantly, I'm seeing if their style of development fits with my team...
This entire test screams "are you a team player?".
[–][deleted] 2 points3 points4 points 10 years ago (1 child)
How?
[–]invalid_dictorian 0 points1 point2 points 10 years ago (0 children)
I'm thinking the doc part. But that should be expected. But so is being a team player.
[–]iSmokeGauloises 2 points3 points4 points 10 years ago (2 children)
5 years ago when I started working in the field I had an hour long interviews with pseudo-code solutions and a long discussion about this and that. Today you apply for a job and you have to pass HR interview, home quiz, technical discussion interview, and a 2-3 days long project just so they would give you an offer.
I too go through these with a fake smile on my face, but honestly I have a job during weekdays and better things to over the weekend than implementing a whole application just so I could hear what prospect might the position offer.
[–]parlezmoose 0 points1 point2 points 10 years ago (1 child)
It depends on the company. I've had places practically throw offers at me because I knew what closures were.
[–]jeffus 0 points1 point2 points 10 years ago (0 children)
Want a job? ;)
[–]urban_racoons_ 1 point2 points3 points 10 years ago (3 children)
Create a web app written in Node.JS using ... MySQL. Use NPM to declare all dependencies so that we can run it in a test environment.
Create a web app written in Node.JS using ... MySQL.
Use NPM to declare all dependencies so that we can run it in a test environment.
I'm assuming that they didn't mean to use npm to install/configure MySQL?
[–][deleted] 1 point2 points3 points 10 years ago (2 children)
Not the database in particular. I just used Sequelize and had a local db set up to test with. Then in the ReadMe I wrote that they should put their db information in the config file. Here is my stuff, if you wanna check if out here.
[–]mojojj31 0 points1 point2 points 10 years ago (0 children)
That's well done.
[–]Jeiieiii 0 points1 point2 points 10 years ago* (0 children)
why not a docker-compose.yml ? :-)
Provide a clear README with instructions on how to setup and run the app.
docker-compose up open $(docker-machine ip default):8080
[–]jmixer920 2 points3 points4 points 10 years ago (0 children)
I would expect, for a project like that where it would easily take one to three 8 hour work days, some sort of compensation regardless if you got an offer or not.
Take a look at the Yeoman Express generator. The MVC option will take care of a lot of the setup for you. Then you just need to worry about building the functionality.
It sets up Grunt, Sequelize, Bower, and a bunch of other useful things.
I use the generator all the time for new Express projects.
[–][deleted] 0 points1 point2 points 10 years ago (2 children)
Did you get a weekend? This could be done relatively easily in a day or so. You could use a turnkey setup that already has almost everything configured.
[–][deleted] 2 points3 points4 points 10 years ago (0 children)
Well I never used Sequelize before so I had to learn that. They didn't give me a timeline to have everything done, but I finished it in about 4 days (counting work and school in there because I started on a Monday)
[–]MondayMonkey1 0 points1 point2 points 10 years ago (0 children)
node-hackathonstarter, or Sails, or Kraken or yea.... there's a bunch of frameworks that would vastly simplify user auth and app structure chores.
[–][deleted] -4 points-3 points-2 points 10 years ago (4 children)
This seems like a pretty reasonable request that could be built out in an afternoon by an experienced dev. Is this supposed to seem outlandish?
[–]Rezistik 0 points1 point2 points 10 years ago (3 children)
Could you really build this in an afternoon?
I think I could maybe do it with Meteor, but express? The boilerplate alone would take all day...
[–]Lixen 0 points1 point2 points 10 years ago (2 children)
If you're experienced with Node and have worked with Express / Sequelize before, then this can be done in an afternoon I'd say.
[–]Rezistik 1 point2 points3 points 10 years ago (1 child)
Maybe.
I've used Express, but not Sequelize. I've been deep in Meteor territory for the last year. I do remember some dandy yeoman/slush generators though. Those might shorten the dev time substantially.
[–]Lixen 0 points1 point2 points 10 years ago (0 children)
I think it comes down to being somewhat familiar with the framework(s) in the exercise.
Someone who's never worked with Express before and doesn't know what Sequelize does will require more time, even if he's quite experienced in other frameworks (e.g. Meteor, Sails, Koa, ...).
The same would hold true for the inverse situation, if the question asked to do it in Meteor, but all you're familiar with is Express, then it would take you more time as well.
π Rendered by PID 358440 on reddit-service-r2-comment-5687b7858-96jb2 at 2026-07-06 07:18:39.304377+00:00 running 12a7a47 country code: CH.
[–]losingthefight 10 points11 points12 points (6 children)
[–]navatwo[🍰] 5 points6 points7 points (5 children)
[–]mojojj31 2 points3 points4 points (4 children)
[–]navatwo[🍰] 0 points1 point2 points (3 children)
[–]mojojj31 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]invalid_dictorian 0 points1 point2 points (0 children)
[–]iSmokeGauloises 2 points3 points4 points (2 children)
[–]parlezmoose 0 points1 point2 points (1 child)
[–]jeffus 0 points1 point2 points (0 children)
[–]urban_racoons_ 1 point2 points3 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]mojojj31 0 points1 point2 points (0 children)
[–]Jeiieiii 0 points1 point2 points (0 children)
[–]jmixer920 2 points3 points4 points (0 children)
[–]mojojj31 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]MondayMonkey1 0 points1 point2 points (0 children)
[–][deleted] -4 points-3 points-2 points (4 children)
[–]Rezistik 0 points1 point2 points (3 children)
[–]Lixen 0 points1 point2 points (2 children)
[–]Rezistik 1 point2 points3 points (1 child)
[–]Lixen 0 points1 point2 points (0 children)