GithubHelp home page GithubHelp logo

prasadashu / data-engineering-fetch-rewards Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 59 KB

Repository for Data Engineering project by Fetch Rewards

Makefile 8.26% Shell 3.98% Python 87.75%
aws-sqs data-engineering docker docker-compose etl localstack makefile python

data-engineering-fetch-rewards's Introduction

Fetch Rewards

Data Engineering Take Home: ETL off a SQS Qeueue

This project is the solution for the Data Engineering assignment given in the below link: https://bitbucket.org/fetchrewards/data-engineering-take-home/src/master/

To run the code

  1. Clone this repo.
git clone https://github.com/prasadashu/data-engineering-fetch-rewards.git
  1. Go into the cloned repo.
cd data-engineering-fetch-rewards
  1. Run make command to install dependencies.
make pip-install
  1. Run make command to configure aws shell.
make aws-configure
  1. Pull and start docker containers.
make start
  1. Run Python code to perform ETL process.
make perform-etl

Checking messages loaded in Postgres

  • To validate the messages loaded in Postgres
psql -d postgres -U postgres -p 5432 -h localhost -W
  • Credentials and database information

    • username=postgres
    • password=postgres
    • database=postgres
  • If psql binary is not installed on Ubuntu based distros, install it using the below command.

apt install postgresql-client

Decrypting masked PIIs

  • The ip and device_id fields are masked using base64 encryption.
  • To recover the encrypted fields, we can use the below command.
echo -n "<sample_base64_encrypted_string>" | base64 --decrypt

data-engineering-fetch-rewards's People

Contributors

bgilbert-fetchrewards avatar psheets avatar

Stargazers

kartik avatar Arnab Ghose avatar

Watchers

Ashu Prasad avatar

Forkers

a37950456

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.