Skip to content

byee322/maxsumtree3

Repository files navigation

README

OSX - System Requirements

Setup Instructions

  • Run docker -v in your terminal to ensure you have docker installed
  • Clone the repository in your working directory
    • git clone https://github.com/byee322/maxsumtreeapp3.git
  • Go into foldercd maxsumtree3
  • Run docker-compose up --build
  • In a seperate terminal docker-compose run app rake db:create db:migrate
  • Please visit localhost:3000 in your browser and find that max tree!

Run the tests

docker-compose run app rspec

Improvements

  • I thought to solve the lots of users problem, I'd give everyone the script to have the computing on the client side and not overloading the server.
  • Could convert the computation to a backend service job to process the requests if the tree's got to be much larger.
  • Adding a Tree table to the DB so a user could save their saved trees or in progress trees.
  • Feature tests - ensure proper output for different tree inputs.
  • Component tests - props type checking, classname checking on jsx components using jest.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published