Skip to content

Commit 666ce01

Browse files
authored
Merge pull request #323 from RiyaGupta89/main
Added news-app folder which was mistakely removed
2 parents d40cf32 + aab2497 commit 666ce01

22 files changed

+16795
-1
lines changed

Index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,7 @@
122122
| [Classifiers using JS](https://github.com/Ayushparikh-code/Web-dev-mini-projects/tree/main/Classifier-Using-JS) | It is a website which contains three different classifiers, built with the help of API.
123123
| [String Palindrome Checker](https://github.com/Ayushparikh-code/Web-dev-mini-projects/tree/main/String%20Palindrome%20Checker) | Checks if the entered word is a palindrome or not, and also checks the string length.
124124
| [2048 Game](https://github.com/Gyynnn/Web-dev-mini-projects/tree/2048game/2048%20Game) | A simple 2048 game on website.
125-
| [Movie Search App](https://github.com/Gyynnn/Web-dev-mini-projects/tree/main/Movie-Search-App) | Simple Movie Search App in HTML, CSS, and JavaScript using the APIs for fetching movies information.
125+
| [Movie Search App](https://github.com/Gyynnn/Web-dev-mini-projects/tree/main/Movie-Search-App) | Simple Movie Search App in HTML, CSS, and JavaScript using the APIs for fetching movies information.
126+
| [News App](https://github.com/Ayushparikh-code/Web-dev-mini-projects/tree/main/news-app)| This is a React app which fetches the recent news from an api and renders it on the DOM without reloading the page.
127+
I've used the concept of *Async functions* and *react hook usestate* also worked with *APIs*.
128+
|

news-app/.eslintcache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\index.js":"1","C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\App.js":"2","C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\Components\\Header.js":"3","C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\Components\\Footer.js":"4","C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\Components\\Main.js":"5"},{"size":220,"mtime":1627455921840,"results":"6","hashOfConfig":"7"},{"size":284,"mtime":1627456020544,"results":"8","hashOfConfig":"7"},{"size":514,"mtime":1627455223678,"results":"9","hashOfConfig":"7"},{"size":193,"mtime":1627455132750,"results":"10","hashOfConfig":"7"},{"size":1070,"mtime":1627456157616,"results":"11","hashOfConfig":"7"},{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1593bgn",{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"18","messages":"19","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\index.js",[],"C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\App.js",[],"C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\Components\\Header.js",[],"C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\Components\\Footer.js",[],"C:\\Users\\Welcome\\Desktop\\LGMsoc'21\\Web-dev-mini-projects\\news-app\\src\\Components\\Main.js",[]]

news-app/.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

news-app/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Welcome 🖐 to the News React App Website
2+
3+
This is a React app which fetches the recent news from an api and renders it on the DOM without reloading the page.
4+
I've used the concept of *Async functions* and *react hook usestate* also worked with *APIs*.
5+
6+
7+
## 💻Tech Stack
8+
<br>
9+
10+
![HTML](https://img.shields.io/badge/html5%20-%23E34F26.svg?&style=for-the-badge&logo=html5&logoColor=white)
11+
![CSS](https://img.shields.io/badge/css3%20-%231572B6.svg?&style=for-the-badge&logo=css3&logoColor=white)
12+
![JS](https://img.shields.io/badge/javascript%20-%23323330.svg?&style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)
13+
![REACT](https://img.shields.io/badge/react%20-%23628395.svg?&style=for-the-badge&logo=react&logoColor=%2300C1D4)
14+
15+
<br>
16+
17+
18+
### How to get the project on your local machine:
19+
20+
21+
---
22+
23+
- Download or clone the repository
24+
25+
```
26+
git clone https://github.com/Ayushparikh-code/Web-dev-mini-projects.git
27+
```
28+
29+
- Go to the directory
30+
- Open news-app folder
31+
- Open the terminal and run
32+
```
33+
npm start
34+
```
35+
- The project will be opened in the browser
36+
37+
38+
39+
<br>
40+
41+
## Screenshots
42+
43+
![Demo1](/news-app/public/news.png)
44+
45+
![Demo2](/news-app/public/news1.png)
46+
47+
<br>
48+
49+
## Happy Coding!

0 commit comments

Comments
 (0)