Giter Site home page Giter Site logo

ldsleticia / shopee-case Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 91 KB

This project consists of the console application developed in Java for the challenge: Shopee Case Study as part of the admission process for a junior developer at Shopee.

Home Page: https://github.com/ldsleticia/Shopee-Case

License: MIT License

Java 98.29% Dockerfile 1.71%
shopee junior-developer case-study job-test evaluation java

shopee-case's Introduction

Hello World! ✌️

logo shopee

GitHub code size in bytes Number of lines of code Code language count GitHub top language GitHub last commit

This repository consists in a project of console application developed in Java for the challenge: Shopee Case as part of the admission process for a junior developer at Shopee Developer Team Product BR.

Shopee-Case

Build a script, implementing the seller's ranking logic, where the user, from the terminal, inputs a Sale item and the output is printed as an updated list of all sales registered, sorted by sellers with the highest to lowest amount sold.

  • A Sale item must have at least the following attributes: (Seller Name, Customer Name, Date of Sale, Sale Item Name, Sale Value)
  • Five Sellers should be registered and no Sale Item can be registered with a different seller name other than the five available.
  • Script must run in the terminal only

How this project was developed

Following the case specifications, the project consists of a console application with data input from Stdin and output to Stdout. Developed using the Java language with OpenJdk 11 and Intellij Idea IDE, and also Maven as a dependency and build management tool.

How I Run This Project

See instructions to run this project in Local Execution via source code and Ide, Local Execution via source code and jar file and also the dockerized way.

Local Execution

First, you must have the following tools on your local machine:

➡️ First, download the project using the command:

git clone [email protected]:ldsleticia/Shopee-Case.git

➡️ And now, import the project in your java IDE, and run the Main.java file, like this:

main execution

If you prefer execute this project via command line, after download and inside the project directory, run the following commands to build by Maven and execute the jar file:

maven clean install
cd target
java -jar shopee-case-1.0-SNAPSHOT.jar

Dockerized Execution

You can get the project image and see the execution instructions at: https://hub.docker.com/repository/docker/ldsleticia/shopee-case

Or execute the following command in your terminal, to get the image and run in the interactive terminal (:heavy_exclamation_mark: the docker needs to run interactively):

docker run -it ldsleticia/shopee-case:latest

shopee-case's People

Contributors

ldsleticia avatar

Watchers

 avatar  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.