Git Product home page Git Product logo

data-fizz's Introduction

DataFizz

A collection of challenges

data-fizz's People

Contributors

hrgoulden avatar shiondev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

data-fizz's Issues

Duplicate Books

In the case of duplicate books, do you still want me to package them both into boxes or do you want me to filter out any duplicates so that only one book is packaged instead of two?

Thanks,
Will

JSON Structure Representation

The provided example JSON document for our solution represents an object with a named fields that contain the packed boxes. Is this the only allowed format for the solution's generated JSON file, or could my solution represent the packed boxes as an array of boxes without the boxes being named fields?

This representation would look similar to:
[
{
"id": 1,
"totalWeight": 4.4,
"contents": [
{
"title": "Zealot: The Life and Times of Jesus of Nazareth",
"author": "Reza Aslan",
"price": "$16.89 USD",
"shipping_weight": "1.2 pounds",
"isbn10": 140006922
},
{
"title": "Pacific Rim: Man, Machines, and Monsters",
"author": "David S Cohen, Guillermo del Toro",
"price": "$27.83 USD",
"shipping_weight": "3.2 pounds",
"isbn10": 1608871827
}
]
},

...

Couple Questions

Hi guys, thanks for setting this challenge. I just have a couple quick questions.

  1. Is there a timeline associated with this project? Perhaps a deadline?
  2. Am I allowed to use any boilerplate code to get the infrastructure setup for development? This is in regards to webpack and es6 and what not.
  3. Is there a specific standard of authentication you'd like me to adhere to? Perhaps oauth? Or can I use any authentication necessary to make sure the stories that have been listed are completed?

My plan here was to roll out an application which uses either reactjs or vuejs for the view layer then express on the backend with bcrypt for storing passwords. This paired with mysql or postgres. Let me know if there is any problem with any of this.

final data structure

I have a question about the output data structure. I am okay with the box and book hash structures but for the final hash (I called it shipment), there is a “box” key and I cannot have multiple “box” keys for each box because they will overwrite each time. Right now I have a shipment array filled with box objects. Is that okay? Or do you want me to rename the box keys to box1, box2, etc.

I am attaching my current answer for reference.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.