Toggle navigation
Toggle navigation
This project
Loading...
Sign in
황지민
/
Corona_Dust
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-25 02:51:17 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6758faeda7c3ce83b9e653825e42c06b6ca093e6
6758faed
1 parent
eb030340
Update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
README.md
README.md
View file @
6758fae
...
...
@@ -47,6 +47,38 @@ Contributions are what make the open source community such an amazing place to b
4.
Push to the Branch (
`git push origin feature/AmazingFeature`
)
5.
Open a Pull Request
<!-- PROCESS -->
## Process
1.
Recevie city name by user
->
<p><label>
지역이름 :
</label><input
type=
"text"
name=
"city"
placeholder=
"Input city"
></p>
2.
Get data from api
-> url = Dust_URL+Dust_ServiceKey+Dust_URL2+item+Dust_Place;
-> request(url,function(error,res,body){}
3.
Manufacture data
->
// ex) Dust_Month_2020
async function Dust_Month_2020(Dust_Month_2020){
for(let i=0;i<Dust_Month_2020.length;i++)
{
await DelayNode_2020(Dust_Month_2020
[
i
]
);
}
}
Dust_Month_2020(
[
202002,202003,202004,202005,202006
]
);
4.
All data is manufactured
-> Return check = true
5.
Send data to ejs
-> if(check == true){
res.render('index',{
Feb_Dust_2020,
Mar_Dust_2020,
April_Dust_2020,
May_Dust_2020,
June_Dust_2020,
City
})
}
6.
localhost:3000/city -> Result Page
<!-- CONTACT -->
## Contact
...
...
Please
register
or
login
to post a comment