Skip to content

Instantly share code, notes, and snippets.

@juliends
Created March 26, 2019 08:12
Show Gist options
  • Save juliends/df1ca5e519fe1207e777d17e3cdde0b6 to your computer and use it in GitHub Desktop.
Save juliends/df1ca5e519fe1207e777d17e3cdde0b6 to your computer and use it in GitHub Desktop.

Week 10 / Land your 1st dev job

You can review too!

So you want to become a junior developer Reviewing is not a CTO only privilege. What if we asked you to review this aspiring developer ?

We provide a Rails and the student has to:

  • Refactor routes
  • Refactor the controller (if/else, bad_naming, no before_action, long logic...)
    • use scopes / concerns / AR callbacks
    • Solve n+1 queries
  • Use a service object
  • Add some tests
  • Refactor views with partials, bad indentation

Think as a problem solver

Trying to memorize a problem and his solution won't help you much. You need to practice problem solving and enhance your toolbelt with knowledge

Doctolib: https://doctolib.github.io/job-applications/ Drivy: https://github.com/drivy/jobs/tree/master/backend

  • Ex 1: What is time complexity https://remimercier.com/wtf-time-complexity
  • Ex 2: Introduction to sorting algorithms
  • Ex 3: Linked lists, recursion ?! 🤔
  • Ex 4: Design patterns 101
  • Ex 5: OOP exercice like Doctolib or Drivy

Build a complete API

If you try to join a mobile product chances are that their rails app is an API serving JSON for the view

We provide a front-end app The student has to create a complete api to feed it

Extract data / statistics

The goal is to build a dashboard: https://kitt.lewagon.com/admin/applies We provide a rails app with a seed of records and the student has to:

  • Database query in active record / pure sql to grab data
  • Visualize with chart.js

Front end library

Grab a front-end library https://github.com/aircall/frontend-test

Cookbook in node

  • Rebuild the cookook in Node.js

Resources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment