This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kyungjoon777.test.com; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.stereotype.Controller; | |
import org.springframework.ui.Model; | |
import org.springframework.web.bind.annotation.*; | |
import org.springframework.web.multipart.MultipartFile; | |
import org.springframework.web.servlet.ModelAndView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {useState} from 'react'; | |
import {Button, Image, Platform, View} from 'react-native'; | |
import {launchImageLibrary} from 'react-native-image-picker'; | |
const SERVER_URL = 'http://kyungjoon2.ipdisk.co.kr:3000/upload'; | |
const UploadDemo = () => { | |
const [reg_file, set_reg_files] = useState(null); | |
const [ext_file, set_ext_files] = useState(null); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nickname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kyungjoon777.test.com; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.stereotype.Controller; | |
import org.springframework.ui.Model; | |
import org.springframework.web.bind.annotation.*; | |
import org.springframework.web.multipart.MultipartFile; | |
import java.io.File; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {View, Image, Button, Platform} from 'react-native'; | |
import {launchImageLibrary} from 'react-native-image-picker'; | |
const SERVER_URL = 'http://kyungjoon2.ipdisk.co.kr:3000/upload'; | |
const createFormData = (photo, body = {}) => { | |
console.log("datadatadatadata===>", data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {View, Image, Button, Platform} from 'react-native'; | |
import {launchImageLibrary} from 'react-native-image-picker'; | |
const SERVER_URL = 'http://kyungjoon2.ipdisk.co.kr:3000/upload'; | |
const createFormData = (photo, body = {}) => { | |
console.log("datadatadatadata===>", data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require("express"); | |
const handlebars = require('express-handlebars'); | |
const bodyParser = require("body-parser"); | |
const cors = require("cors"); | |
const path = require('path'); | |
const app = express(); | |
app.engine('.hbs', handlebars({ | |
layoutsDir: __dirname + '/views/layouts', | |
defaultLayout: null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {View, Image, Button, Platform} from 'react-native'; | |
import {launchImageLibrary} from 'react-native-image-picker'; | |
const SERVER_URL = 'http://kyungjoon2.ipdisk.co.kr:3000'; | |
const createFormData = (photo, body = {}) => { | |
console.log("datadatadatadata===>", data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {View, Image, Button, Platform} from 'react-native'; | |
import {launchImageLibrary} from 'react-native-image-picker'; | |
const SERVER_URL = 'http://kyungjoon2.ipdisk.co.kr:3000'; | |
const createFormData = (photo, body = {}) => { | |
console.log("datadatadatadata===>", data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {View, Image, Button, Platform} from 'react-native'; | |
import {launchImageLibrary} from 'react-native-image-picker'; | |
const SERVER_URL = 'http://kyungjoon2.ipdisk.co.kr:3000'; | |
const createFormData = (photo, body = {}) => { | |
console.log("datadatadatadata===>", data); |
NewerOlder