Giter Site home page Giter Site logo

java-usermodel's Introduction

Java User Model

A student that completes this project shows that they can:

  • Add additional fields to a Many to Many Join Table
  • Add standard auditing fields to each table
  • Use SQL, JPA and Hibernate to perform custom query operations on a RDBMS through a Spring Application
  • Use SQL, JPA and Hibernate to perform custom data manipulation operations on a RDBMS through a Spring Application
  • Implement default Swagger documentation

Introduction

This is a basic database scheme with users, user emails, and user roles. This Java Spring REST API application will provide endpoints for clients to read various data sets contained in the application's data. This application will also form the basis of a user authentication application developed elsewhere in the course

Database layout

The table layout is as follows

  • User is the driving table.
  • Useremails have a Many-To-One relationship with User. Each User has many user email combinations. Each user email combination has only one User.
  • Roles have a Many-To-Many relationship with Users.

Image of Database Layout

Notice that this database layout is similar to the layout for the java-crudyrestaurants application.

Type Crudy Restaurants Usermodel
Driving Table Restaurants Users
One to Many Restaurants -> Menus Users -> Useremails
Many to Many Restaurants <-> Payments Users <-> Roles

Two different applications exist

  • usermodel_initial - a starting version of the application that resembles the Crudy Restaurant application developed elsewhere in the course.
  • usermodel - the finished version with many "bells and whistles" added

java-usermodel's People

Contributors

jrmmba8314 avatar

Watchers

James Cloos 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.