GithubHelp home page GithubHelp logo

antoniotan / springuploadfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from accpliuchen/springuploadfiles

0.0 0.0 0.0 15.23 MB

Java 64.29% CSS 10.05% HTML 9.34% JavaScript 15.72% Dockerfile 0.60%

springuploadfiles's Introduction

Spring Boot File Upload / Download Rest API Example

Tutorial: [Uploading an Downloading files with Spring Boot]

Steps to Setup

1. Clone the repository

git clone https://github.com/accpliuchen/SpringUploadFiles.git

2. Specify the file uploads directory

Open src/main/resources/application.properties file and change the property file.upload-dir to the path where you want the uploaded files to be stored.

file.upload-dir=/Users/uploads

2. Run the app using maven

cd SpringUploadFiles
mvn spring-boot:run

That's it! The application can be accessed at http://localhost:8279. or access http://localhost:8279/index.html.

You may also package the application in the form of a jar and then run the jar file like so -

mvn clean package
java -jar SpringUploadFiles-0.0.1-SNAPSHOT

springuploadfiles's People

Contributors

cl6016 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.