Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicholasess/internship-entria-challenge
For study, i wrote the challenge of Entria!
https://github.com/nicholasess/internship-entria-challenge
challenge internship-challenge nodejs study
Last synced: 22 days ago
JSON representation
For study, i wrote the challenge of Entria!
- Host: GitHub
- URL: https://github.com/nicholasess/internship-entria-challenge
- Owner: nicholasess
- Created: 2017-08-05T18:23:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T03:44:09.000Z (about 2 months ago)
- Last Synced: 2024-11-10T04:26:10.338Z (about 2 months ago)
- Topics: challenge, internship-challenge, nodejs, study
- Language: JavaScript
- Homepage: https://github.com/entria/jobs/blob/master/internship/challenge.md
- Size: 39.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Repository about test Internship Entria
For study, i wrote the challenge of Entria, if you want to see project own, click [here](https://github.com/entria/jobs/blob/master/internship/challenge.md)
## Internship Challenge
- [x] choose one or more of these public APIs - https://github.com/toddmotto/public-apis.
- [x] create a simple command line interface to access this api (I recommend to use [yargs](https://github.com/yargs/yargs))
- [x] it should use **fetch** to request data from an API
- [x] it should be open sourced on your github repo## Extras
- [x] configure babel
- [x] configure eslint
- [x] configure prettier
- [x] use async await
- [x] transform response to something more readable
- [x] configure and use flowtype
- [x] add testsInstall
`npm install`
Example of usage:
Allow sh file with `chmod +x ./metaweather-cli.sh` in Unix OS
`./metaweather-cli --city "São Paulo"`
```
[
{
"title": "São Paulo",
"location_type": "City",
"woeid": 455827,
"latt_long": "-23.562880,-46.654659"
}
]
```Test
`npm test`