Giter VIP home page Giter VIP logo

arkon-scalatraining's Introduction

Arkon's Scala Training

Description

Scala hands on training project. Looking to introduce new team members or anyone interested to the scala programming language and the way it's used within the ArkonData team.

You'll implement a web server exposing a GraphQL API to expose business retrieved from the INEGI's API and query them based on their location.

Concepts

Books

Videos

Tools

Libraries

Exercises

Basic commands

SBT console

$ sbt

Running sbt commands inside the SBT console

// sbt console
$ sbt

// Scala REPL
$ sbt console

// Compile the main module
sbt:arkon-scalatraining> compile

// Compile the test module
sbt:arkon-scalatraining> test:compile

// Run all tests
sbt:arkon-scalatraining> test

// Run a specific test
sbt:arkon-scalatraining> testOnly training.std.OptionSpec

Requirements

Implement a GraphQL API based on the given schema to expose the saved business and query them based on their location. The database to be used should be PostgreSQL with the PostGIS exitension to power the georeferenced queries. To fill the database you'll have to implement a web scrapper to retrieve data from the INEGI's DENUE API and execute the createShop mutation defined on the implemented API.

The implemented API should comply the following rules:

  • On the createShop mutation
    • The activity, stratum and shopType fields should search for existing records on the Activity, Stratum and ShopType tables and insert only if there is no previous record.

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.