👉 Click here to see on browser
What's used in this app ? | How use third party libraries | Author |
---|---|---|
props-drilling | Take a look at my portfolio | |
Bootstrap | npm i bootstrap | Visit me on Linkedin |
Semantic-Commits | ||
Deploy with Vercel |
yarn create react-app . or npx create-react-app .
yarn add sass or npm i sass
- App.test.js
- reportWebVitals.js
- setupTests.js
- favicon.ico
- logo192.png
- logo512.png
- manifest.json
- robots.txt
yarn start or npm start
OR
-
Clone the Repo
git clone
-
Install NPM packages
npm install or yarn
-
Run the project
npm start or yarn start
-
Open the project on your browser
http://localhost:3000/
Task Traker (folder)
|
|----public (folder)
│ └── index.html
|----src (folder)
| |--- components (folder)
│ │ ├── Header.jsx
│ │ ├── Card.jsx
│ │
│ ├--- App.js
| |--- data.js
│ |--- index.js
│ │--- styles.css
│
│
|-- .gitignore
|── package-lock.json
├── package.json
|── README.md
|── yarn.lock
- props & destructuring & map((item.index)=> ...) & bootstrap & css import
import Card from "./components/Card";
import Header from "./components/Header";
import { contacts } from "./data";
import "bootstrap/dist/css/bootstrap.css";
import "./styles.css";
// console.log(contacts);
const App = () => {
return (
<div className="row justify-content-center gap-1 m-3">
<Header />
{contacts.map((item) => {
const { id, name, imgURL, phone, email } = item;
return (
<>
<Card
id={id}
name={name}
imgURL={imgURL}
phone={phone}
email={email}
/>
</>
);
})}
</div>
);
};
export default App;
-
Semantic Commit Messages See how a minor change to your commit message style can make you a better programmer.
Format: ():
is optional
- Example
feat: add hat wobble ^--^ ^------------^ | | | +-> Summary in present tense. | +-------> Type: chore, docs, feat, fix, refactor, style, or test.
-
More Examples:
feat
: (new feature for the user, not a new feature for build script)fix
: (bug fix for the user, not a fix to a build script)docs
: (changes to the documentation)style
: (formatting, missing semi colons, etc; no production code change)refactor
: (refactoring production code, eg. renaming a variable)test
: (adding missing tests, refactoring tests; no production code change)chore
: (updating grunt tasks etc; no production code change)
I value your feedback and suggestions. If you have any comments, questions, or ideas for improvement regarding this project or any of my other projects, please don't hesitate to reach out. I'm always open to collaboration and welcome the opportunity to work on exciting projects together. Thank you for visiting my project. I hope you have a wonderful experience exploring it, and I look forward to connecting with you soon!
⌛ Happy Coding ✍