Skip to content

Latest commit

 

History

History
116 lines (88 loc) · 1.63 KB

README.md

File metadata and controls

116 lines (88 loc) · 1.63 KB

Exam Spring boot

NFe XML treater in spring boot

Installation and Manual

Docker

install Docker Engine and Docker Compose, and then execute the command within the docker-compose.yaml file.

docker compose up
services:
  db:
    image: mysql:latest
    restart: always
    ports:
      - 3306:3306
    container_name: examMySQLDatabase
    environment:
      MYSQL_ROOT_PASSWORD: _root@123
      MYSQL_DATABASE: examDB
      MYSQL_USER: exam
      MYSQL_PASSWORD: exam@123
  phpmyadmin:
    image: phpmyadmin:latest
    restart: always
    ports:
      - 8081:80
    container_name: phpmyadminExam

ports:

  • spring boot : 8080
  • mysql: 3306
  • Possibily Apache: 80

Spring boot

git clone https://github.com/lucaspereirasouza/examSpringBoot.git Import the project inside spring boot and run ...

API Reference

Default Path

  GET /v1/inovacoes/

Controllers:

Client: CRUD:

/create /get/{id} /get (get all) /delete/{id}

Product: CRUD: /create /get/{id} /get /update /delete/{id}

Purchase: CRUD: /create /get/{id} /get /update /delete/{id}

QRCodeController for Purchase: CRUD: /create /get/{id} /get /update /delete/{id}

NFe: CRUD: /create /get/{id} /get /update /delete/{id}

Entities Diagram: diagram

Authors