Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박민정
/
We-Shop
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박민정
2021-06-04 01:45:34 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
da72b52ef75c8f7f15c185dd0674ddfa1f4081bd
da72b52e
1 parent
80003fa6
[docs] 서버/클라이언트 폴더로 소스코드를 기능별로 정리
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
2 deletions
boiler-plate/config/key.js → boiler-plate/server/config/key.js
boiler-plate/config/prod.js → boiler-plate/server/config/prod.js
boiler-plate/index.js → boiler-plate/server/index.js
boiler-plate/middleware/auth.js → boiler-plate/server/middleware/auth.js
boiler-plate/models/User.js → boiler-plate/server/models/User.js
boiler-plate/config/key.js
→
boiler-plate/
server/
config/key.js
View file @
da72b52
File moved
boiler-plate/config/prod.js
→
boiler-plate/
server/
config/prod.js
View file @
da72b52
File moved
boiler-plate/index.js
→
boiler-plate/
server/
index.js
View file @
da72b52
...
...
@@ -78,7 +78,7 @@ app.post('/api/users/login', (req, res) => {
.
json
({
loginSuccess
:
true
,
userId
:
user
.
_id
})
})
})
})
})
})
...
...
@@ -109,4 +109,4 @@ app.get('/api/users/logout', auth, (req, res) => {
app
.
listen
(
port
,
()
=>
{
console
.
log
(
`Example app listening at http://localhost:
${
port
}
`
)
})
})
\ No newline at end of file
...
...
boiler-plate/middleware/auth.js
→
boiler-plate/
server/
middleware/auth.js
View file @
da72b52
File moved
boiler-plate/models/User.js
→
boiler-plate/
server/
models/User.js
View file @
da72b52
File moved
Please
register
or
login
to post a comment