Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
shopping-mall
Commits
9a9c2a56
Commit
9a9c2a56
authored
Jan 04, 2021
by
박상호
🎼
Browse files
1
parent
da66d3c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/src/index.js
View file @
9a9c2a56
...
@@ -5,6 +5,7 @@ import Home from './Pages/Home';
...
@@ -5,6 +5,7 @@ import Home from './Pages/Home';
import
Login
from
'
./Pages/Login
'
;
import
Login
from
'
./Pages/Login
'
;
import
Signup
from
'
./Pages/Signup
'
;
import
Signup
from
'
./Pages/Signup
'
;
import
Product
from
"
./Pages/Products
"
;
import
Product
from
"
./Pages/Products
"
;
import
ProductsList
from
'
./Pages/ProductsList
'
;
import
Admin
from
'
./Pages/Admin
'
;
import
Admin
from
'
./Pages/Admin
'
;
import
ProductsRegist
from
'
./Pages/ProductsRegist
'
;
import
ProductsRegist
from
'
./Pages/ProductsRegist
'
;
import
ShoppingCart
from
'
./Pages/ShoppingCart
'
;
import
ShoppingCart
from
'
./Pages/ShoppingCart
'
;
...
@@ -19,6 +20,7 @@ ReactDOM.render(
...
@@ -19,6 +20,7 @@ ReactDOM.render(
<
Route
exact
path
=
"
/
"
component
=
{
Home
}
/
>
<
Route
exact
path
=
"
/
"
component
=
{
Home
}
/
>
<
Route
path
=
"
/login
"
component
=
{
Login
}
/
>
<
Route
path
=
"
/login
"
component
=
{
Login
}
/
>
<
Route
path
=
"
/signup
"
component
=
{
Signup
}
/
>
<
Route
path
=
"
/signup
"
component
=
{
Signup
}
/
>
<
Route
path
=
"
/list
"
component
=
{
ProductsList
}
/
>
<
Route
path
=
"
/product
"
component
=
{
Product
}
/
>
<
Route
path
=
"
/product
"
component
=
{
Product
}
/
>
<
Route
path
=
"
/admin
"
component
=
{
Admin
}
/
>
<
Route
path
=
"
/admin
"
component
=
{
Admin
}
/
>
<
Route
path
=
"
/regist
"
component
=
{
ProductsRegist
}
/
>
<
Route
path
=
"
/regist
"
component
=
{
ProductsRegist
}
/
>
...
...
server/package.json
View file @
9a9c2a56
...
@@ -11,6 +11,9 @@
...
@@ -11,6 +11,9 @@
"author"
:
""
,
"author"
:
""
,
"license"
:
"ISC"
,
"license"
:
"ISC"
,
"dependencies"
:
{
"dependencies"
:
{
"express"
:
"^4.17.1"
"express"
:
"^4.17.1"
,
"mongoose"
:
"^5.11.9"
,
"nodemon"
:
"^2.0.6"
,
"validator"
:
"^13.5.2"
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment