Skip to content

Commit 6198318

Browse files
authored
Merge pull request #279 from jugeshraghav/counterApp
Counter app
2 parents a938608 + 51ada3b commit 6198318

21 files changed

+77107
-1
lines changed

Corona-tracker/package-lock.json

Lines changed: 568 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Counter_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*

Counter_App/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Counter App (Simple React JS Project )
2+
This Project is a Simple ReactJS Project which demonstrates the following
3+
1. increamenting a counter value
4+
2. decrementing a counter value
5+
3. reseting a counter value.
6+
7+
## Prerequisites
8+
9+
### Install Node JS
10+
Refer to https://nodejs.org/en/ to install nodejs
11+
12+
### Install create-react-app
13+
Install create-react-app npm package globally. This will help to easily run the project and also build the source files easily. Use the following command to install create-react-app
14+
15+
```bash
16+
npm install -g create-react-app
17+
```
18+
19+
## Cloning and Running the Application in local
20+
21+
Clone the project into local
22+
23+
Install all the npm packages. Go into the project folder and type the following command to install all npm packages
24+
25+
```bash
26+
npm install
27+
```
28+
29+
In order to run the application Type the following command
30+
31+
```bash
32+
npm start
33+
```
34+
35+
The Application Runs on **localhost:3000**
36+
37+
38+
### output
39+
![Counter App](counterApp.png)

Counter_App/counterApp.png

21.1 KB
Loading

0 commit comments

Comments
 (0)