Skip to content

Spring Boot back-end application to treat NFE (invoice), with JacksonXML, QRCode generator, Product with dynamic entity. using MySQL as database

Notifications You must be signed in to change notification settings

lucaspereirasouza/NFE-API-SPRING

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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

About

Spring Boot back-end application to treat NFE (invoice), with JacksonXML, QRCode generator, Product with dynamic entity. using MySQL as database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published