-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
18 changed files
with
1,139 additions
and
335 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
REACT_APP_DB_HOST="" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
REACT_APP_DB_HOST="http://pikcha36.o-r.kr:8080" |
Binary file not shown.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,35 @@ | ||
import { BrowserRouter, Routes, Route } from "react-router-dom"; | ||
import React from "react"; | ||
import "./App.css"; | ||
import Main from "./Main"; | ||
import Login from "./pages/Login"; | ||
import Place from "./pages/Place"; | ||
import Post from "./pages/Post"; | ||
import Map from "./pages/Map"; | ||
import PlaceDetail from "./pages/PlaceDetail"; | ||
import { BrowserRouter, Routes, Route } from 'react-router-dom'; | ||
import React from 'react'; | ||
import './App.css'; | ||
import Main from './Main'; | ||
import LoginSign from './pages/LoginSign'; | ||
import Place from './pages/Place'; | ||
import Post from './pages/Post'; | ||
import Map from './pages/Map'; | ||
import WritePost from "./pages/WritePost"; | ||
import PlaceDetail from './pages/PlaceDetail'; | ||
import { RecoilRoot } from 'recoil'; | ||
|
||
|
||
function App() { | ||
return ( | ||
<div className="App"> | ||
<BrowserRouter> | ||
<RecoilRoot> | ||
<Routes> | ||
<Route path='/login' element={<LoginSign />}></Route> | ||
<Route path="/" element={<Main />} /> | ||
<Route path="/login" element={<Login />} /> | ||
<Route path="/place" element={<Place />} /> | ||
<Route path="/post" element={<Post />} /> | ||
<Route path="/write" element={<WritePost />} /> | ||
<Route path="/map" element={<Map />} /> | ||
<Route path="/placedetail" element={<PlaceDetail />} /> | ||
|
||
</Routes> | ||
</RecoilRoot> | ||
</BrowserRouter> | ||
</div> | ||
); | ||
} | ||
|
||
export default App; | ||
export default App; |
Oops, something went wrong.