Toggle navigation
Toggle navigation
This project
Loading...
Sign in
권주희
/
howsTheAir
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
권주희
2020-06-04 16:49:48 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0993afc7dcfa2f7974ffb05abe32c18cb1bb96d4
0993afc7
1 parent
babaa4e7
add API js for communication with server
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
0 deletions
frontend/package-lock.json
frontend/package.json
frontend/src/API.js
frontend/src/home.js
frontend/package-lock.json
View file @
0993afc
...
...
@@ -2636,6 +2636,37 @@
"resolved"
:
"https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz"
,
"integrity"
:
"sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug=="
},
"axios"
:
{
"version"
:
"0.19.2"
,
"resolved"
:
"https://registry.npmjs.org/axios/-/axios-0.19.2.tgz"
,
"integrity"
:
"sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA=="
,
"requires"
:
{
"follow-redirects"
:
"1.5.10"
},
"dependencies"
:
{
"debug"
:
{
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/debug/-/debug-3.1.0.tgz"
,
"integrity"
:
"sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g=="
,
"requires"
:
{
"ms"
:
"2.0.0"
}
},
"follow-redirects"
:
{
"version"
:
"1.5.10"
,
"resolved"
:
"https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz"
,
"integrity"
:
"sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ=="
,
"requires"
:
{
"debug"
:
"=3.1.0"
}
},
"ms"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/ms/-/ms-2.0.0.tgz"
,
"integrity"
:
"sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
}
}
},
"axobject-query"
:
{
"version"
:
"2.1.2"
,
"resolved"
:
"https://registry.npmjs.org/axobject-query/-/axobject-query-2.1.2.tgz"
,
...
...
frontend/package.json
View file @
0993afc
...
...
@@ -6,6 +6,7 @@
"@testing-library/jest-dom"
:
"^4.2.4"
,
"@testing-library/react"
:
"^9.3.2"
,
"@testing-library/user-event"
:
"^7.1.2"
,
"axios"
:
"^0.19.2"
,
"bootstrap"
:
"^3.4.1"
,
"daum-map-api"
:
"^1.0.2"
,
"react"
:
"^16.13.1"
,
...
...
frontend/src/API.js
0 → 100644
View file @
0993afc
import
axios
from
"axios"
;
export
default
axios
.
create
({
baseURL
:
"http://localhost:3000"
,
responseType
:
"json"
,
});
frontend/src/home.js
View file @
0993afc
...
...
@@ -5,6 +5,7 @@ import Button from "react-bootstrap/Button";
import
"./home.css"
;
import
{
Map
,
Marker
,
MarkerClusterer
,
Polyline
}
from
"react-kakao-maps"
;
import
"bootstrap/dist/css/bootstrap.min.css"
;
import
API
from
"./API"
;
/* global kakao */
...
...
Please
register
or
login
to post a comment