davorpa / spring-boot-demo

Spring Boot Demo application with a bunch of services as course exercises

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-demo

Spring Boot Demo application with a bunch of services as course exercises.

Endpoints

The project provides the following service endpoints:

  • GET /: Responds with a Hello World! message.
  • GET /salute: Responds with a Kaixo! message.
  • GET /firewell: Responds with a Goodbye! message in japanese.
  • Calculator Service:
    • GET /calculator/add?num1=[num1]&num2=[num2] Summatory of two numbers.
    • GET /calculator/substract?num1=[num1]&num2=[num2]: Subtracts two numbers.
    • GET /calculator/multiply?num1=[num1]&num2=[num2]: Multiplies two numbers.
    • GET /calculator/divide?dividend=[num1]&divisor=[num2]: Divides two numbers.
  • People Directory:
    • GET /people: Emits a JSON with all registered people.
    • GET /people/[id]: Emits a JSON with the detail of a record given it ID.
    • GET /people/search?initial=[letter]&age=[number]: Emits a JSON response with the people list matching the given optional parameters.
    • POST /people: Creates a new person. Attributes are specified as a JSON request body.
  • Bootcamp:
    • Students:
      • GET /bootcamp/alumnos: Emits a JSON with a paginated list with all registered students.
      • GET /bootcamp/alumnos/[id]: Emits a JSON with the detail of a record given it ID.
      • GET /bootcamp/alumnos/nid.[nid]: Emits a JSON with the detail of a record given it NID.
      • POST /bootcamp/alumnos: Creates a new student. Attributes are specified as a JSON request body.
      • PUT /bootcamp/alumnos/[id]: Updates a record given it ID. Attributes are specified as a JSON request body.
      • DELETE /bootcamp/alumnos/[id]: Deletes an existent student given it ID.
    • Classrooms:
      • GET /bootcamp/clases: Emits a JSON with a paginated list with all registered classroom.
      • GET /bootcamp/clases/[id]: Emits a JSON with the detail of a record given it ID.
      • GET /bootcamp/clases/code.[code]: Emits a JSON with the detail of a record given it CODE.
      • POST /bootcamp/clases: Creates a new classroom. Attributes are specified as a JSON request body.
      • PUT /bootcamp/clases/[id]: Updates a record given it ID. Attributes are specified as a JSON request body.
      • DELETE /bootcamp/clases/[id]: Deletes an existent classroom given it ID.
    • Assistance:
      • GET /bootcamp/asistencias: Emits a JSON with a paginated list with all registered assistances.
      • GET /bootcamp/asistencias/[id]: Emits a JSON with the detail of a record given it ID.
      • POST /bootcamp/asistencias: Creates a new assistance. Attributes are specified as a JSON request body.
      • PUT /bootcamp/asistencias/[id]: Updates a record given it ID. Attributes are specified as a JSON request body.
      • DELETE /bootcamp/asistencias/[id]: Deletes an existent assistance given it ID.

Getting Started

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

About

Spring Boot Demo application with a bunch of services as course exercises

License:GNU Affero General Public License v3.0


Languages

Language:Java 100.0%