Skip to content

RicardoAffonso0607/my-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java RESTful API made with Spring Boot

PROJECT STILL IN PROGRESS

Overview

This REST API was made to abstract an University Academic System. The main classes can be observed in the diagram below.

Link to acess the API: API

Technologies used

  • Java Spring Boot
  • Gradle
  • H2 Database (development tests)
  • PostgreSQL (deploy)
  • JPA (to interact with the database)
  • Swagger (to make the interface and documentation)
  • Railway (to deploy the API in web)

Diagram - made with Mermaid

classDiagram
    class University {
        -String name
        -String location
        -List<Department> departments
        +addDepartment(Department department)
        +removeDepartment(Department department)
    }

    class Department {
        -String name
        -List<Course> courses
        -List<Professor> professors
        +addCourse(Course course)
        +removeCourse(Course course)
        +addProfessor(Professor professor)
        +removeProfessor(Professor professor)
    }

    class Course {
        -String name
        -String code
        -List<Student> students
        +addStudent(Student student)
        +removeStudent(Student student)
    }

    class Student {
        -String name
        -List<Course> courses
        +addCourse(Course course)
        +removeCourse(Course course)
    }

    class Professor {
        -String name
        -List<Course> courses
        -Department department
        +addCourse(Course course)
        +removeCourse(Course course)
    }

    University "1" *-- "0..*" Department : has
    Department "1" o-- "0..*" Course : offers
    Department "1" o-- "0..*" Professor : employs
    Course "0..*" o-- "0..*" Student : enrolls
    Professor "1" o-- "0..*" Course : teaches
Loading

Acknowledgments

Thanks DIO (Digital Innovation One) and Claro for the amazing bootcamp, that includes Java Syntax and Spring boot fundamentals.

About

Java RESTful API made with Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published