Skip to content

Commit

Permalink
Merge pull request #35 from RK-41/add/currency-converter
Browse files Browse the repository at this point in the history
Add Currency Converter Web App
  • Loading branch information
hackelite01 authored Oct 31, 2024
2 parents 079ecf2 + 3f84a2d commit a7c15dd
Show file tree
Hide file tree
Showing 18 changed files with 5,822 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Project List/Web Projects/currency-converter/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
24 changes: 24 additions & 0 deletions Project List/Web Projects/currency-converter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
26 changes: 26 additions & 0 deletions Project List/Web Projects/currency-converter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Currency Converter

A web app which converts one currency to another.

This project employs the use of re-usable component, React hook and custom hook.

## App's Snaps

<img src="https://github.com/RK-41/learning-react/assets/73783957/f2737e66-05f5-4936-855e-acc669ed6b58" alt="s1" width="500"/>
<img src="https://github.com/RK-41/learning-react/assets/73783957/2fa0ee10-eaf6-4607-a7eb-1157c9baf4ce" alt="s2" width="500"/>
<img src="https://github.com/RK-41/learning-react/assets/73783957/e13e9195-03c6-4479-8428-ac5980f0da16" alt="s3" width="500"/>
<img src="https://github.com/RK-41/learning-react/assets/73783957/97940604-76ac-4a0f-ad3c-506a40865660" alt="s4" width="500"/>


## Checkout My Github Profile
[RK-41](https://github.com/RK-41)
----

# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
16 changes: 16 additions & 0 deletions Project List/Web Projects/currency-converter/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Currency Converter</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>

</html>
Loading

0 comments on commit a7c15dd

Please sign in to comment.