Giter Site home page Giter Site logo

spring-upload's Introduction

Simple Project With Spring Boot and Data JPA

Build Status

Create Schema

 mysql -u [USER] -p
 CREATE SCHEMA faturadb DEFAULT COLLATE = utf8_general_ci CHARSET = utf8;

Change Database in application.yml

The MySQL Connector is support from MySQL 8 Version InnoDB

  • Change database name
  • Chage username and password
    spring:
        datasource:
            url: jdbc:mysql://localhost:3306/[YOU_DB]?createDatabaseIfNotExist=true&serverTimeZone=UTC&sslMode=DISABLED
            passoword: [YOU PASSWORD]
            username: [YOU_USERNAME]

Change Upload Folder

-- Before Upload in Spring, create Folder in OS

For unix

    root~: sudo su
    root~: sudo mkdir [PATH]/[FOLDER_NAME]
    root~: chmod -R 7777 [PATH]/[FOLDER_NAME]
For Windows
    mkdir [PATH]/[FOLDER_NAME]

Change Spring Boot Upload

  • In application.properties change you [PATH_FOLDER]
    app.upload.baseUrl=[PATH]
    app.upload.folderName=[FOLDER_NAME]
    app.upload.absolutePath=${app.upload.baseUrl}/${app.upload.folderName}/

spring-upload's People

Contributors

ifoxxiedev avatar jphrionas avatar

Forkers

technotebrasil

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.