Skip to content

chrisjcarrillo/fizzbuzz-takehome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Papa

Fullstack Engineer Takehome Assignment

** Update **

** You Can Either Use the regular Elixir Backend or switch to the Rails backend **

  • Simply Clone the Fizzbuzz-api
  • Change the endpointUrl variable value to http://localhost:3000/api/fizzbuzz?param=
  • Start the API endpoint with rails s -p 3000
  • Voila

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

The assignment:

Welcome to the takehome assignment for fullstack engineers at Papa. We hope you have fun doing this assignment!

Time Limit: 1 hour

Skills tested: React knowledge, and backend knowledge (any language)


Here's what we do care about in this assignment:

  • Proper functionality - are you actually solving what the problem is?
  • Code cleanliness
  • Conventions
  • Logic
  • Source control using Git

Here's what we don't care about in this assignment:

  • Design
  • Tests

Your task:

Add a new backend endpoint with the following signature GET /api/fizzbuzz, it will take two query parameters foo and bar. If foo is passed and true call fooFunction(), else if bar is passed and true call barFunction(). If both are passed and true call fooBarFunction() and render the output in the box below

Add 3 buttons here in the UI. One for foo, one for bar, and one for foobar to the react client. Then hit the appropriate endpoint on click with the correct parameters.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published