Giter VIP home page Giter VIP logo

fastapi-crud's Introduction

fastapi-crud

Description

This project creates a CRUD application using FastAPI, S3, Lambda and Athena. Its main purpose is to manage my personal finance information in a S3 bucket so it can be later use for analytics purposes.

User stories

How to use

Features

Arquitecture

(arquitecture img)

Demo

Why

How to run the app

  • Create a venv with all the requirements.txt
  • Create .env file with your BUCKET_NAME, FOLDER_NAME, DB_NAME and TABLE_NAME
export BUCKET_NAME="XX" 
export FOLDER_NAME="YY" 
export TABLE_NAME="ZZ"
export DB_NAME="WW"
  • Install aws with credentials on terminal

S3 and Athena config

  • To create the partition manually
ALTER TABLE table_name ADD
  PARTITION (category = 'Home')
  LOCATION 's3://finance-tracker-jeste-bot/fastapi-finance/Home/';

An alternative is to use a Crawler from AWS Glue

  • See current partitions
SHOW PARTITIONS table

References

fastapi-crud's People

Contributors

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