Toggle navigation
Toggle navigation
This project
Loading...
Sign in
유승근
/
Computer-part-Recommand
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Network
Create a new issue
Commits
Issue Boards
Authored by
Yuseunggeun
2020-06-24 21:01:24 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
13984dce52988d5b009fba9cf997dcbe911d3dbb
13984dce
1 parent
176830df
데이터 추출 test
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
app.js
test.json
app.js
View file @
13984dc
...
...
@@ -16,5 +16,12 @@ app.set('view engine', 'ejs');
app
.
use
(
'/'
,
index
);
//app.use('/main',index);
var
fs
=
require
(
'fs'
);
var
temp
=
{
a
:
"a"
,
b
:
"bb"
};
var
tempjson
=
JSON
.
stringify
(
temp
);
fs
.
writeFileSync
(
"test.json"
,
tempjson
);
var
server
=
app
.
listen
(
3000
);
module
.
exports
=
app
;
\ No newline at end of file
...
...
test.json
0 → 100644
View file @
13984dc
{
"a"
:
"a"
,
"b"
:
"bb"
}
\ No newline at end of file
Please
register
or
login
to post a comment