Git Product home page Git Product logo

springboot-backend's Introduction

Java Springboot Backend

API REST CRUD for Users

  • Java JDK 18.0.2 - Kit de desarrollo para programación en Java.
  • Spring Framework 2.7.1 - Framework base para la generación de la API REST.
  • Swagger 2.1.2 - Biblioteca para generar documentación de la API REST.
  • JPA 2.7.1 - Biblioteca para la manipulación de datos en base de datos.
  • Lombok 1.18.24 - Biblioteca para la facilitación de código como getters/setters, equals, constructores, etc.
  • MySQL Connector 8.0.29 - Biblioteca para la conectividad con la base de datos.

Endpoints

Swagger http://localhost:8080/swagger-ui/index.html

GET {base_url}/api/users

Response

[
  {
    "id": 0,
    "imageURL": "string",
    "name": "string",
    "emails": [
      "string"
    ],
    "gender": "string",
    "status": "string"
  },
  ...
]

GET {base_url}/api/users/{id}

Response

  {
    "id": 0,
    "imageURL": "string",
    "name": "string",
    "emails": [
      "string"
    ],
    "gender": "string",
    "status": "string"
  }

POST {base_url}/api/users

Request

  {
    "image": "blob",
    "name": "string",
    "emails": [
      "string"
    ],
    "gender": "string",
    "status": "string"
  }

Response

  {
    "id": 0,
    "imageURL": "string",
    "name": "string",
    "emails": [
      "string"
    ],
    "gender": "string",
    "status": "string"
  }

PUT {base_url}/api/users/{id}

Request

  {
    "image": "blob",
    "name": "string",
    "emails": [
      "string"
    ],
    "gender": "string",
    "status": "string"
  }

Response

  {
    "id": 0,
    "imageURL": "string",
    "name": "string",
    "emails": [
      "string"
    ],
    "gender": "string",
    "status": "string"
  }

DELETE {base_url}/api/users/{id}

Response

User deleted successfully!.

springboot-backend's People

Contributors

c-17 avatar

Watchers

 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.