PatrickKoss / lecture-ws-development-of-a-db-app

A comprehensive codebase offering multi-language examples for integrating applications with RDBMS like SQLite, employing ORM for database abstraction, utilizing migration frameworks for schema transitions, and implementing REST APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This codebase serves as a comprehensive repository, furnishing exemplary source code across diverse programming paradigms aimed at elucidating the methodology for interfacing applications with relational database management systems (RDBMS), including but not limited to SQLite. It transcends foundational techniques to delve into Object-Relational Mapping (ORM) strategies for database abstraction and elucidates the utilization of migration frameworks for effective database schema transitions. Additionally, it encapsulates the implementation of a Representational State Transfer (REST) Application Programming Interface (API).

Project Structure

Within the root directory, linguistic categories are partitioned into subdirectories to facilitate the selection of a programming language that aligns with the user's proficiency and/or project requirements. Each language-specific directory houses the following subdivisions:

  • cursor-simple: This segment elucidates the concept of leveraging a database-specific driver that instantiates a cursor for interacting with the database. It underscores the imperative nature of migration frameworks for effectively managing database schema alterations.
  • repository-simple: Serving as an instructional guide, this directory showcases the abstraction capabilities of an ORM over rudimentary cursor-based interactions. It serves to demystify how frameworks such as Hibernate or Django models can streamline the intricacies of direct database interactions.
  • rest-simple This module furnishes a comprehensive guide to constructing a fully-fledged REST API. It outlines a multi-tiered architectural approach comprising a data persistence layer (repository), a business logic layer (service), and an exposure layer (infrastructure). Complementing this architecture, the module integrates a test suite to validate functionality and employs Swagger/OpenAPI for meticulous API documentation, facilitating client-side interactions.
  • rest-simple-exercise Designed as a hands-on exercise, this subdivision supplies a skeletal framework for crafting a REST API. Detailed directives for its completion can be located within the accompanying README.md document.

About

A comprehensive codebase offering multi-language examples for integrating applications with RDBMS like SQLite, employing ORM for database abstraction, utilizing migration frameworks for schema transitions, and implementing REST APIs.


Languages

Language:CSS 65.9%Language:JavaScript 25.4%Language:Python 2.7%Language:Java 1.5%Language:Go 1.4%Language:Rust 1.4%Language:Kotlin 1.1%Language:HTML 0.5%Language:Makefile 0.1%Language:Dockerfile 0.0%Language:Shell 0.0%