Skip to content

Commit cca8ed0

Browse files
committed
update README.md
1 parent c975d78 commit cca8ed0

File tree

2 files changed

+62
-49
lines changed

2 files changed

+62
-49
lines changed

README.md

+62-49
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,83 @@
1-
# Getting Started with Create React App
1+
# Frontend Mentor - IP address tracker solution
22

3-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3+
This is a solution to the [IP address tracker challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/ip-address-tracker-I8-0yYAH0).
44

5-
## Available Scripts
5+
## Table of contents
66

7-
In the project directory, you can run:
7+
- [Frontend Mentor - IP address tracker solution](#frontend-mentor---ip-address-tracker-solution)
8+
- [Table of contents](#table-of-contents)
9+
- [Overview](#overview)
10+
- [The challenge](#the-challenge)
11+
- [Screenshot](#screenshot)
12+
- [Links](#links)
13+
- [My process](#my-process)
14+
- [Built with](#built-with)
15+
- [Author](#author)
16+
- [⚒ Usage](#-usage)
17+
- [👥 Clone the repo](#-clone-the-repo)
18+
- [📦 Install dependencies](#-install-dependencies)
19+
- [🔐 Store API KEY](#-store-api-key)
20+
- [✨ Start/Run the app](#-startrun-the-app)
821

9-
### `npm start`
22+
## Overview
1023

11-
Runs the app in the development mode.\
12-
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
24+
### The challenge
1325

14-
The page will reload when you make changes.\
15-
You may also see any lint errors in the console.
26+
Users should be able to:
1627

17-
### `npm test`
28+
- View the optimal layout for each page depending on their device's screen size
29+
- See hover states for all interactive elements on the page
30+
- See their own IP address on the map on the initial page load
31+
- Search for any IP addresses or domains and see the key information and location
1832

19-
Launches the test runner in the interactive watch mode.\
20-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
33+
### Screenshot
2134

22-
### `npm run build`
35+
![screenshot](./screenshot/ip-address-webapp-screenshot.png)
2336

24-
Builds the app for production to the `build` folder.\
25-
It correctly bundles React in production mode and optimizes the build for the best performance.
37+
### Links
2638

27-
The build is minified and the filenames include the hashes.\
28-
Your app is ready to be deployed!
39+
- Solution URL: [Github](https://github.com/metkerr/ip-address-tracker-react.git)
40+
- Live Site URL: [Live on Vercel](https://ip-address-tracker-react-two.vercel.app/)
2941

30-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
42+
## My process
3143

32-
### `npm run eject`
44+
### Built with
3345

34-
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
46+
- Semantic HTML5 markup
47+
- Flexbox
48+
- Mobile-first workflow
49+
- [React](https://reactjs.org/) - JS library
50+
- [Tailwind](https://tailwindcss.com/) - For styles
51+
- [ipify API](https://www.ipify.org/) - Geolocation data API
52+
- [leafletjs](https://leafletjs.com/) - render interactive map API
3553

36-
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
54+
## Author
3755

38-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
56+
- Website - [Metker](https://metkerr.github.io/)
57+
- Frontend Mentor - [@metkerr](https://www.frontendmentor.io/profile/metkerr)
58+
- Twitter - [@metkerr](https://twitter.com/metkerr)
3959

40-
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
60+
## ⚒ Usage
61+
### 👥 Clone the repo
4162

42-
## Learn More
63+
```shell
64+
$ git clone https://github.com/metkerr/rest-countries-api-with-color-theme-switcher.git
65+
```
4366

44-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
67+
### 📦 Install dependencies
68+
```shell
69+
$ cd rest-countries-api-with-color-theme-switcher
70+
$ npm install
71+
```
4572

46-
To learn React, check out the [React documentation](https://reactjs.org/).
73+
### 🔐 Store API KEY
74+
Create a .env file with GUI or with `.>.env ` command, and insert your ipify API KEY:
75+
```js
76+
REACT_APP_KEY=YOUR_API_KEY
77+
```
78+
**you can get your own api key from https://www.ipify.org/**
4779

48-
### Code Splitting
49-
50-
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51-
52-
### Analyzing the Bundle Size
53-
54-
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55-
56-
### Making a Progressive Web App
57-
58-
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59-
60-
### Advanced Configuration
61-
62-
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63-
64-
### Deployment
65-
66-
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67-
68-
### `npm run build` fails to minify
69-
70-
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
80+
### ✨ Start/Run the app
81+
```shell
82+
$ npm start
83+
```
437 KB
Loading

0 commit comments

Comments
 (0)