Skip to content

Commit 5d1a3b7

Browse files
authored
Merge pull request #2 from javitocor/feature
Request for code review
2 parents 1e2d851 + 93f9892 commit 5d1a3b7

38 files changed

+5631
-1
lines changed

.eslintrc.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"jest": true
6+
},
7+
"parserOptions": {
8+
"ecmaVersion": 2018,
9+
"sourceType": "module"
10+
},
11+
"extends": ["airbnb-base"],
12+
"rules": {
13+
"no-shadow": "off",
14+
"no-param-reassign": "off",
15+
"eol-last": "off",
16+
"arrow-parens": "off"
17+
},
18+
"ignorePatterns": [
19+
"dist/",
20+
"build/"
21+
]
22+
}

.github/workflows/linters.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Linters
2+
3+
on: pull_request
4+
5+
env:
6+
FORCE_COLOR: 1
7+
8+
jobs:
9+
eslint:
10+
name: ESLint
11+
runs-on: ubuntu-18.04
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: "12.x"
17+
- name: Setup ESLint
18+
run: |
19+
20+
[ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/javascript/.eslintrc.json
21+
- name: ESLint Report
22+
run: npx eslint .
23+
stylelint:
24+
name: Stylelint
25+
runs-on: ubuntu-18.04
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: actions/setup-node@v1
29+
with:
30+
node-version: "12.x"
31+
- name: Setup Stylelint
32+
run: |
33+
npm install --save-dev [email protected] [email protected] [email protected] stylelint-csstree-validator
34+
[ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/javascript/.stylelintrc.json
35+
- name: Stylelint Report
36+
run: npx stylelint "**/*.{css,scss}"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

.stylelintrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": ["stylelint-config-standard"],
3+
"plugins": ["stylelint-scss", "stylelint-csstree-validator"],
4+
"rules": {
5+
"at-rule-no-unknown": null,
6+
"scss/at-rule-no-unknown": true,
7+
"csstree/validator": true
8+
},
9+
"ignoreFiles": ["build/**", "dist/**", "**/reset*.css", "**/bootstrap*.css"]
10+
}

README.md

Lines changed: 108 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,108 @@
1-
# Weather-App-JS
1+
<!--
2+
*** Thanks for checking out this README Template. If you have a suggestion that would
3+
*** make this better, please fork the repo and create a pull request or simply open
4+
*** an issue with the tag "enhancement".
5+
*** Thanks again! Now go create something AMAZING! :D
6+
-->
7+
8+
<!-- PROJECT SHIELDS -->
9+
<!--
10+
*** I'm using markdown "reference style" links for readability.
11+
*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).
12+
*** See the bottom of this document for the declaration of the reference variables
13+
*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.
14+
*** https://www.markdownguide.org/basic-syntax/#reference-style-links
15+
-->
16+
[![Contributors][contributors-shield]][contributors-url]
17+
[![Forks][forks-shield]][forks-url]
18+
[![Stargazers][stars-shield]][stars-url]
19+
[![Issues][issues-shield]][issues-url]
20+
![Hireable](https://cdn.rawgit.com/hiendv/hireable/master/styles/default/yes.svg)
21+
22+
# Weather-App-JS
23+
24+
> A weather app that pulls from the OpenWeatherMap API to allow users to search for and view the forecast in cities worldwide. Built with JavaScript.
25+
26+
Landing Page:
27+
![screenshot](./assets/screenshot1.png)
28+
29+
Actual Weather:
30+
![screenshot](./assets/screenshot2.png)
31+
32+
5-Day Forecast:
33+
![screenshot](./assets/screenshot3.png)
34+
35+
36+
Additional description about the project and its features.
37+
38+
## Built With
39+
40+
- HTML
41+
- CSS
42+
- JAVASCRIPT
43+
- NPM
44+
- WEBPACK
45+
- BOOTSTRAP
46+
- GITHUB ACTIONS
47+
48+
## Live Demo
49+
50+
[Live Demo Link](https://raw.githack.com/javitocor/Weather-App-JS/feature/dist/index.html) :point_left:
51+
52+
## Getting Started
53+
- Follow the live demo link and enjoy the site.
54+
55+
### Usage
56+
- To get a local copy up and running follow these simple example steps.
57+
58+
Clone the repository unto your local machine cd to the folder.
59+
60+
61+
### Prerequisites
62+
63+
- A modern browser, up to date. :muscle:
64+
65+
### Run tests
66+
67+
- There is no automated tests for this project.
68+
69+
## Future features
70+
71+
- Add extra functionality and a contact page.
72+
73+
## Author
74+
75+
👤 Javier Oriol Correas Sanchez Cuesta
76+
- Github: [@javitocor](https://github.com/javitocor)
77+
- Twitter: [@JavierCorreas4](https://twitter.com/JavierCorreas4)
78+
- Linkedin: [Javier Oriol Correas Sanchez Cuesta](https://www.linkedin.com/in/javier-correas-sanchez-cuesta-15289482/)
79+
80+
## 🤝 Contributing
81+
82+
Contributions, issues and feature requests are welcome!
83+
84+
Feel free to check the [issues page](https://github.com/javitocor/Weather-App-JS/issues).
85+
86+
## Show your support
87+
88+
Give a ⭐️ if you like this project!
89+
90+
## Acknowledgments 🚀
91+
92+
- The Odin Project
93+
- Microverse
94+
95+
## 📝 License
96+
97+
This project is [MIT](lic.url) licensed.
98+
99+
<!-- MARKDOWN LINKS & IMAGES -->
100+
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
101+
[contributors-shield]: https://img.shields.io/github/contributors/javitocor/Weather-App-JS.svg?style=flat-square
102+
[contributors-url]: https://github.com/javitocor/Weather-App-JS/graphs/contributors
103+
[forks-shield]: https://img.shields.io/github/forks/javitocor/Weather-App-JS.svg?style=flat-square
104+
[forks-url]: https://github.com/javitocor/Weather-App-JS/network/members
105+
[stars-shield]: https://img.shields.io/github/stars/javitocor/Weather-App-JS.svg?style=flat-square
106+
[stars-url]: https://github.com/javitocor/Weather-App-JS/stargazers
107+
[issues-shield]: https://img.shields.io/github/issues/javitocor/Weather-App-JS.svg?style=flat-square
108+
[issues-url]: https://github.com/javitocor/Weather-App-JS/issues

assets/screenshot1.png

679 KB
Loading

assets/screenshot2.png

348 KB
Loading

assets/screenshot3.png

828 KB
Loading
23.8 KB
Loading
27.3 KB
Loading

0 commit comments

Comments
 (0)