Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day30 #1148

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open

Day30 #1148

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
abb4b70
done jwt
Khandayharoon Aug 10, 2024
87f08fd
Your commit message
Khandayharoon Aug 10, 2024
904a957
done JWT Assignment
Khandayharoon Aug 10, 2024
cfd253c
done with Middlewares
Khandayharoon Aug 13, 2024
c1e89d7
Done MongoDB
Khandayharoon Aug 16, 2024
860426f
add url
Khandayharoon Aug 16, 2024
dd043e9
Completed MongoDB1
Khandayharoon Aug 17, 2024
0f7f7dc
Completed week 3 porject
Khandayharoon Aug 31, 2024
86808cd
WEEK-6
Khandayharoon Sep 6, 2024
a9a3351
Week 7 intro of Context API
Khandayharoon Sep 8, 2024
dc92490
Basic of Recoil
Khandayharoon Sep 12, 2024
58c6204
All done here except selector
Khandayharoon Sep 12, 2024
2de300c
selector done
Khandayharoon Sep 12, 2024
1601368
week 7.2.1 Profile Component
Khandayharoon Sep 17, 2024
3e5439d
Completed the Background Chager assignmetn
Khandayharoon Sep 18, 2024
345681e
in week 7 doing recoil v1
Khandayharoon Sep 20, 2024
182a72d
recoild v3
Khandayharoon Sep 20, 2024
faaebf0
Alll fall
Khandayharoon Sep 20, 2024
884a74b
recoil v4
Khandayharoon Sep 20, 2024
d59006c
web3
Khandayharoon Sep 29, 2024
c064bf9
day13
Khandayharoon Oct 12, 2024
e53e939
Custom Hooks
Khandayharoon Oct 15, 2024
d470ee2
day17
Khandayharoon Oct 17, 2024
55c988c
day18
Khandayharoon Oct 23, 2024
ef691ef
day26
Khandayharoon Oct 24, 2024
1a25dfb
SQL
Khandayharoon Oct 25, 2024
a102a81
day38
Khandayharoon Oct 30, 2024
b236972
day48
Khandayharoon Oct 30, 2024
90a3369
daypgnewcohort2
Khandayharoon Oct 31, 2024
5532f7b
daysame
Khandayharoon Oct 31, 2024
0271b3a
day29
Khandayharoon Nov 1, 2024
85d614c
nextjs
Khandayharoon Nov 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
24 changes: 24 additions & 0 deletions Backends/TS_REACT/.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?
50 changes: 50 additions & 0 deletions Backends/TS_REACT/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# React + TypeScript + 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

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

- Configure the top-level `parserOptions` property like this:

```js
export default tseslint.config({
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
```

- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked`
- Optionally add `...tseslint.configs.stylisticTypeChecked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config:

```js
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
// Set the react version
settings: { react: { version: '18.3' } },
plugins: {
// Add the react plugin
react,
},
rules: {
// other rules...
// Enable its recommended rules
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
},
})
```
28 changes: 28 additions & 0 deletions Backends/TS_REACT/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'

export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
)
13 changes: 13 additions & 0 deletions Backends/TS_REACT/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!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>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading