Giter VIP home page Giter VIP logo

minh-thy's Introduction

Supernova Interview

This is assignment for Supernova Interview. We get data from : Requirement Want a public GitHub repo with โ— No confidential data (Including access keys) โ— Written in Python and SQL along with best coding practices.

Step 1:

Fetch data from the REST APIs below.

  1. Users
  2. Products
  3. Carts
  4. Posts
  5. Comments

Step 2:

Use SQLite or a free online MYSQL server, then design a Data Model, below are base tables you can create extra tables if you want to display reports later.

  1. Users
  2. User Address
  3. Products
  4. Carts
  5. Posts
  6. Comments

Step 3:

We would like to generate the below reports and push data to Google Spreadsheets from the SQL server. Then I would like you to set up a Google Sheets API using your own credentials. https://developers.google.com/sheets/api/guides/concepts I would like to aggregate the below-required data and push those details into Google spreadsheets, via the API.

  1. Find the top 20 product names and revenue that was added to the cart.
  2. Find the highest number of posts along with no. of comments created by the top 20 users in descending order
  3. Find the total revenue generated per state, by the top 10 states (based on the state in the address field)

Step 4:

Then I would like you to insert a bar chart, using the gsheet API using the total revenue generated per state, by the top 10 state's data

Deliverables:

  • GitHub Repository
  • Send task credentials or queries through email (if any)
  • Suggested time: 2-3 hours Open book. You can use the resources available to you except by asking other people.

Google Spreadsheets Result data and reports link :

https://docs.google.com/spreadsheets/d/1Wj6rEm4S5d4wbdrbSgNYOy-NArZhLT6gljH04CA1rFw/edit#gid=317052739

minh-thy's People

Contributors

minhthy1016 avatar

Watchers

 avatar

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.