Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Readme
  • Loading branch information
Rajeev Kumar Singh committed Jul 6, 2018
commit 13223843ac90fc1d62ae9fa93abecf3c105bcc4d
14 changes: 13 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

**Tutorial**: [Uploading an Downloading files with Spring Boot](https://www.callicoder.com/spring-boot-file-upload-download-rest-api-example/)

**This branch demonstrate how to store the files in MySQL database.**

## Steps to Setup

**1. Clone the repository**
Expand All @@ -10,7 +12,17 @@
git clone https://github.com/callicoder/spring-boot-file-upload-download-rest-api-example.git
```

**2. Run the app using maven**
**2. Configure MySQL database**

Create a MySQL database named `files_demo`, and change the username and password in `src/main/resources/application.properties` as per your MySQL
installation -

```properties
spring.datasource.username= <YOUR MYSQL USERNAME>
spring.datasource.password= <YOUR MYSQL PASSWORD>
```

**3. Run the app using maven**

```bash
cd spring-boot-file-upload-download-rest-api-example
Expand Down