Giter Club home page Giter Club logo

iberiapp-backend's Introduction

Iberiapp-Backend

Website Here - Please either register using your .ie.edu email, or log in using the test credentials: test[at]final.com, password: final

Main Modules:

SERVER_Backend (/PythonFiles) - Hosted on AWS Lightsail:

  • api.py -> Flask Backend API. Routes to user registration, user authentication, and data pulling for the dashboard.
  • User_Manager -> Just one script, representing the User Datamodel (I know I should have used the official way of doing a user datamodel with SQLAlchemy, but I got hooked with GitHub Actions right before the deadline :D)
  • Data_APIs -> Three scripts that handle SQL generating logic (based on the frontend filters), Datacleaning, and a main file (data_retriever_clean.py)
  • Others:
    • DockerFile (self-explanatory),
    • getconnection.py -> Creates & returns a connection (with AWS RDS).

LAMBDA_DataProcessor - Runs on AWS Lambda:

  • s3dbprocessor.py -> Main function, that has the lambda_handler function to trigger the process. Is triggered by an object being added to S3.
  • datahandling.py -> Loads the files, verifies them, and processes the data into two summary tables.
  • DBmanager.py -> Handles upserting data to the Database. Upsert = Update Row if Exists OR Insert

.github/workflows

  • As I said before, I caught a late obsession for CI/CD and decided to build my own deployment script for Lightsail. Pretty cool stuff. Next step is using the serverles framework for Lambda, will save me a ton of time in other projects too.

P.S. Sorry for not writing a more extensive documentation, and for the 0 comments in the code. If you have any questions, feel free to reach out.

iberiapp-backend's People

Contributors

phil123095 avatar

Watchers

 avatar

iberiapp-backend's Issues

Grading

Hi,

In order to grade your TIP I've used the following scheme:

  • Code quality: 50%
  • Modularity: 20%
  • Originality: 20%
  • Usage of dev tools (git, pip, ...): 10%

section grade Notes
Code quality 5/5
Modularity 2/2
Originality 2/2
Usage of dev tools 1/1

Final grade 10

Bear in mind I only grade the server side of your project, not the frontend, deployment, or DB side.


Hey @Phil123095 ,

This is an incredible project, great job, and great use of different technologies.

Kudos!

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.