GithubHelp home page GithubHelp logo

fampay-project's Introduction

Readme

Tech Stack

  • Fast API - Python web framework
  • AWS DynamoDB - NoSQL Database
  • AWS Elastic search - for searching
  • Docker

Setup Instructions

  • Create a dynamo db table called "Youtube"
  • Create an elastic search domain on AWS ElasticSearch
  • Create a lambda trigger from the dynamo db table to stream data to elastic search
  • The blueprint for the lambda trigger is in the file app/lambda.py
  • All the environment variables like region, elastic search domain need to be set for the lambda
  • The lambda should be given all access(read/write/list) to dynamo db and to the elastic search domain
  • Create a google developer api key with access to Youtube V3 api and insert it in the API_KEY variable in the file recurring_task.py
  • The AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY need to be entered in the app/.env file
  • The elastic search domain without https:// (starting with search-XXXXX.ap-south-1.es.amazonaws.com) should be entered in main.py in the variable named host
  • After everything is setup, run the application from the root directory using the following command
docker-compose up -d

API

  • There is a unified api to do both the get and search operations
  • The search implemented is very efficient (done through elastic search) and paginated
  • The service is highly scalable and optimised as dynamo db has a very low latency for reads and writes, elastic search is highly optimised for searching
  • The service has relevant validations for various request parameters

fampay-project's People

Contributors

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