├── .gitignore ├── 01-js ├── README.md ├── easy │ ├── anagram.js │ ├── expenditure-analysis.js │ └── findLargestElement.js ├── hard │ ├── calculator.js │ └── todo-list.js ├── medium │ ├── countVowels.js │ ├── palindrome.js │ └── times.js ├── package-lock.json ├── package.json └── tests │ ├── anagram.test.js │ ├── calculator.test.js │ ├── countVowels.test.js │ ├── expenditure-analysis.test.js │ ├── findLargestElement.test.js │ ├── palindrome.test.js │ └── todo-list.test.js ├── README.md ├── week-1 └── offline-class-1 │ ├── level-1 │ ├── 01-String.js │ ├── 02-Number.js │ └── 03-Array.js │ └── level-2 │ ├── 01-Class.js │ ├── 02-Date.js │ ├── 03-JSON.js │ ├── 04-Math.js │ └── 05-Object.js ├── week-10 ├── 1-postgres-simple │ ├── .gitignore │ ├── README.md │ ├── jest.config.js │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── config.ts │ │ ├── db │ │ │ ├── __tests__ │ │ │ │ └── db.test.ts │ │ │ ├── setup.ts │ │ │ ├── todo.ts │ │ │ └── user.ts │ │ └── index.ts │ ├── tsconfig.json │ └── yarn.lock └── 2-prisma-simple │ ├── .gitignore │ ├── README.md │ ├── jest.config.js │ ├── package-lock.json │ ├── package.json │ ├── prisma │ ├── migrations │ │ ├── 20240205225711_i_nit │ │ │ └── migration.sql │ │ └── migration_lock.toml │ └── schema.prisma │ ├── src │ └── db │ │ ├── __tests__ │ │ └── db.test.ts │ │ ├── setup.ts │ │ ├── todo.ts │ │ └── user.ts │ ├── tsconfig.json │ └── yarn.lock ├── week-11 ├── worker-app-1 │ └── README.md └── worker-app-2 │ └── README.md ├── week-2 ├── 01-async-js │ ├── .gitignore │ ├── README.md │ ├── easy │ │ ├── 1-counter.js │ │ ├── 1-counter.md │ │ ├── 2-counter.js │ │ ├── 2-counter.md │ │ ├── 3-read-from-file.js │ │ ├── 3-read-from-file.md │ │ ├── 4-write-to-file.js │ │ ├── 4-write-to-file.md │ │ ├── custom.txt │ │ └── file.txt │ ├── hard (promises) │ │ ├── 1-promisify-setTimeout.js │ │ ├── 2-sleep-completely.js │ │ ├── 3-promise-all.js │ │ └── 4-promise-chain.js │ ├── medium │ │ ├── 1-file-cleaner.js │ │ ├── 1-file-cleaner.md │ │ ├── 2-clock.js │ │ ├── 2-clock.md │ │ ├── cleanedFile.txt │ │ └── file.txt │ ├── package-lock.json │ ├── package.json │ └── tests │ │ ├── 1-promisify-setTimeout.test.js │ │ ├── 2-sleep-completely.test.js │ │ ├── 3-promise-all.test.js │ │ └── 4-promise-chain.test.js └── 02-nodejs │ ├── .gitignore │ ├── README.md │ ├── fileServer.js │ ├── files │ └── a.txt │ ├── package-lock.json │ ├── package.json │ ├── solutions │ ├── fileServer.solution.js │ ├── todoServer.solution.file.js │ └── todoServer.solution.js │ ├── tests │ ├── fileServer.test.js │ └── todoServer.test.js │ ├── todoServer.js │ └── todos.json ├── week-3 ├── 01-middlewares │ ├── .gitignore │ ├── 01-requestcount.js │ ├── 02-ratelimitter.js │ ├── 03-errorcount.js │ ├── coverage │ │ ├── clover.xml │ │ ├── coverage-final.json │ │ ├── lcov-report │ │ │ ├── 01-requestcount.js.html │ │ │ ├── 02-ratelimitter.js.html │ │ │ ├── 03-errorcount.js.html │ │ │ ├── base.css │ │ │ ├── block-navigation.js │ │ │ ├── favicon.png │ │ │ ├── index.html │ │ │ ├── prettify.css │ │ │ ├── prettify.js │ │ │ ├── sort-arrow-sprite.png │ │ │ └── sorter.js │ │ └── lcov.info │ ├── index.js │ ├── jest.config.ts │ ├── package-lock.json │ ├── package.json │ ├── tests │ │ ├── 01-requestcount.spec.js │ │ ├── 02-ratelimitter.spec.js │ │ └── 03-errorcount.spec.js │ └── tsconfig.json ├── 02-jwt │ ├── .gitignore │ ├── index.js │ ├── package-lock.json │ ├── package.json │ ├── tests │ │ └── index.spec.js │ └── tsconfig.json ├── 03-mongo │ ├── .gitignore │ ├── README.md │ ├── db │ │ └── index.js │ ├── index.js │ ├── middleware │ │ ├── admin.js │ │ └── user.js │ ├── package-lock.json │ ├── package.json │ ├── routes │ │ ├── admin.js │ │ └── user.js │ └── solution │ │ ├── db │ │ └── index.js │ │ ├── middleware │ │ ├── admin.js │ │ └── user.js │ │ └── routes │ │ ├── admin.js │ │ └── user.js ├── 04-mongo-with-jwt-auth │ ├── .gitignore │ ├── README.md │ ├── db │ │ └── index.js │ ├── index.js │ ├── middleware │ │ ├── admin.js │ │ └── user.js │ ├── package-lock.json │ ├── package.json │ ├── routes │ │ ├── admin.js │ │ └── user.js │ └── solution │ │ ├── db │ │ └── index.js │ │ ├── middleware │ │ ├── admin.js │ │ └── user.js │ │ └── routes │ │ ├── admin.js │ │ └── user.js ├── README.md └── solutions │ ├── 01-requestcount.js │ ├── 02-ratelimitter.js │ ├── 02.js │ └── 03-errorcount.js ├── week-4 ├── README.md ├── index.html └── react-basics │ ├── .eslintrc.cjs │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── src │ ├── App.css │ ├── App.tsx │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts │ ├── tailwind.config.js │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts ├── week-5 ├── level-1 │ ├── BusinessCard.png │ ├── README.md │ └── answer │ │ ├── .eslintrc.cjs │ │ ├── .gitignore │ │ ├── README.md │ │ ├── index.html │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── postcss.config.js │ │ ├── public │ │ └── vite.svg │ │ ├── src │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ └── Card.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ │ ├── tailwind.config.js │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ └── vite.config.ts └── solutions │ └── level-1 │ └── BusinessCard.jsx ├── week-6 ├── 1-use-memo │ ├── .eslintrc.cjs │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.jsx │ │ ├── components │ │ │ ├── Assignment1.jsx │ │ │ ├── Assignment2.jsx │ │ │ └── Assignment3.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 2-use-callback │ ├── .eslintrc.cjs │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.jsx │ │ ├── components │ │ │ ├── Assignment1.jsx │ │ │ └── Assignment2.jsx │ │ ├── index.css │ │ └── main.jsx │ ├── vite.config.js │ └── yarn.lock ├── 3-use-ref │ ├── .eslintrc.cjs │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.jsx │ │ ├── components │ │ │ ├── Assignment1.jsx │ │ │ └── Assignment2.jsx │ │ ├── index.css │ │ └── main.jsx │ ├── vite.config.js │ └── yarn.lock ├── README.md └── solutions │ ├── 1 │ └── components │ │ ├── Assignment1.jsx │ │ ├── Assignment2.jsx │ │ └── Assignment3.jsx │ ├── 2 │ └── components │ │ ├── Assignment1.jsx │ │ └── Assignment2.jsx │ └── 3 │ └── components │ ├── Assignment1.jsx │ └── Assignment2.jsx ├── week-7 ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── public │ └── vite.svg ├── src │ ├── App.css │ ├── App.tsx │ ├── assets │ │ └── react.svg │ ├── components │ │ └── Header.tsx │ ├── index.css │ ├── main.tsx │ ├── pages │ │ ├── ColorChanger.tsx │ │ ├── Home.tsx │ │ ├── ParagraphGen.tsx │ │ └── ProfileCard.tsx │ └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts └── week-8-paytm ├── Dockerfile ├── README.md ├── backend ├── package-lock.json ├── package.json ├── src │ ├── controllers │ │ ├── accountController.ts │ │ └── userController.ts │ ├── index.ts │ ├── lib │ │ └── dbconnect.ts │ ├── middlewares │ │ └── verifyToken.ts │ ├── models │ │ ├── Account.ts │ │ └── User.ts │ └── routes │ │ ├── accountRouter.ts │ │ ├── mainRouter.ts │ │ └── userRouter.ts └── tsconfig.json └── frontend ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── components.json ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── public └── vite.svg ├── src ├── App.tsx ├── assets │ └── react.svg ├── components │ ├── Header.tsx │ ├── UserItem.tsx │ ├── theme-provider.tsx │ └── ui │ │ ├── button.tsx │ │ ├── dialog.tsx │ │ ├── input.tsx │ │ └── sonner.tsx ├── index.css ├── lib │ └── utils.ts ├── main.tsx ├── pages │ ├── Dashboard.tsx │ ├── Home.tsx │ ├── Login.tsx │ ├── NotFound.tsx │ └── Signup.tsx ├── redux │ ├── slices │ │ ├── api.ts │ │ └── appSlice.ts │ └── store.ts └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env -------------------------------------------------------------------------------- /01-js/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/README.md -------------------------------------------------------------------------------- /01-js/easy/anagram.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/easy/anagram.js -------------------------------------------------------------------------------- /01-js/easy/expenditure-analysis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/easy/expenditure-analysis.js -------------------------------------------------------------------------------- /01-js/easy/findLargestElement.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/easy/findLargestElement.js -------------------------------------------------------------------------------- /01-js/hard/calculator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/hard/calculator.js -------------------------------------------------------------------------------- /01-js/hard/todo-list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/hard/todo-list.js -------------------------------------------------------------------------------- /01-js/medium/countVowels.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/medium/countVowels.js -------------------------------------------------------------------------------- /01-js/medium/palindrome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/medium/palindrome.js -------------------------------------------------------------------------------- /01-js/medium/times.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/medium/times.js -------------------------------------------------------------------------------- /01-js/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/package-lock.json -------------------------------------------------------------------------------- /01-js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/package.json -------------------------------------------------------------------------------- /01-js/tests/anagram.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/tests/anagram.test.js -------------------------------------------------------------------------------- /01-js/tests/calculator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/tests/calculator.test.js -------------------------------------------------------------------------------- /01-js/tests/countVowels.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/tests/countVowels.test.js -------------------------------------------------------------------------------- /01-js/tests/expenditure-analysis.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/tests/expenditure-analysis.test.js -------------------------------------------------------------------------------- /01-js/tests/findLargestElement.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/tests/findLargestElement.test.js -------------------------------------------------------------------------------- /01-js/tests/palindrome.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/tests/palindrome.test.js -------------------------------------------------------------------------------- /01-js/tests/todo-list.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/01-js/tests/todo-list.test.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/README.md -------------------------------------------------------------------------------- /week-1/offline-class-1/level-1/01-String.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-1/offline-class-1/level-1/01-String.js -------------------------------------------------------------------------------- /week-1/offline-class-1/level-1/02-Number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-1/offline-class-1/level-1/02-Number.js -------------------------------------------------------------------------------- /week-1/offline-class-1/level-1/03-Array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-1/offline-class-1/level-1/03-Array.js -------------------------------------------------------------------------------- /week-1/offline-class-1/level-2/01-Class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-1/offline-class-1/level-2/01-Class.js -------------------------------------------------------------------------------- /week-1/offline-class-1/level-2/02-Date.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-1/offline-class-1/level-2/02-Date.js -------------------------------------------------------------------------------- /week-1/offline-class-1/level-2/03-JSON.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-1/offline-class-1/level-2/03-JSON.js -------------------------------------------------------------------------------- /week-1/offline-class-1/level-2/04-Math.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-1/offline-class-1/level-2/04-Math.js -------------------------------------------------------------------------------- /week-1/offline-class-1/level-2/05-Object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-1/offline-class-1/level-2/05-Object.js -------------------------------------------------------------------------------- /week-10/1-postgres-simple/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /week-10/1-postgres-simple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/README.md -------------------------------------------------------------------------------- /week-10/1-postgres-simple/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/jest.config.js -------------------------------------------------------------------------------- /week-10/1-postgres-simple/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/package-lock.json -------------------------------------------------------------------------------- /week-10/1-postgres-simple/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/package.json -------------------------------------------------------------------------------- /week-10/1-postgres-simple/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/src/config.ts -------------------------------------------------------------------------------- /week-10/1-postgres-simple/src/db/__tests__/db.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/src/db/__tests__/db.test.ts -------------------------------------------------------------------------------- /week-10/1-postgres-simple/src/db/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/src/db/setup.ts -------------------------------------------------------------------------------- /week-10/1-postgres-simple/src/db/todo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/src/db/todo.ts -------------------------------------------------------------------------------- /week-10/1-postgres-simple/src/db/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/src/db/user.ts -------------------------------------------------------------------------------- /week-10/1-postgres-simple/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/src/index.ts -------------------------------------------------------------------------------- /week-10/1-postgres-simple/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/tsconfig.json -------------------------------------------------------------------------------- /week-10/1-postgres-simple/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/1-postgres-simple/yarn.lock -------------------------------------------------------------------------------- /week-10/2-prisma-simple/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/.gitignore -------------------------------------------------------------------------------- /week-10/2-prisma-simple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/README.md -------------------------------------------------------------------------------- /week-10/2-prisma-simple/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/jest.config.js -------------------------------------------------------------------------------- /week-10/2-prisma-simple/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/package-lock.json -------------------------------------------------------------------------------- /week-10/2-prisma-simple/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/package.json -------------------------------------------------------------------------------- /week-10/2-prisma-simple/prisma/migrations/20240205225711_i_nit/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/prisma/migrations/20240205225711_i_nit/migration.sql -------------------------------------------------------------------------------- /week-10/2-prisma-simple/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /week-10/2-prisma-simple/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/prisma/schema.prisma -------------------------------------------------------------------------------- /week-10/2-prisma-simple/src/db/__tests__/db.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/src/db/__tests__/db.test.ts -------------------------------------------------------------------------------- /week-10/2-prisma-simple/src/db/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/src/db/setup.ts -------------------------------------------------------------------------------- /week-10/2-prisma-simple/src/db/todo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/src/db/todo.ts -------------------------------------------------------------------------------- /week-10/2-prisma-simple/src/db/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/src/db/user.ts -------------------------------------------------------------------------------- /week-10/2-prisma-simple/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/tsconfig.json -------------------------------------------------------------------------------- /week-10/2-prisma-simple/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-10/2-prisma-simple/yarn.lock -------------------------------------------------------------------------------- /week-11/worker-app-1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-11/worker-app-1/README.md -------------------------------------------------------------------------------- /week-11/worker-app-2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-11/worker-app-2/README.md -------------------------------------------------------------------------------- /week-2/01-async-js/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | solutions -------------------------------------------------------------------------------- /week-2/01-async-js/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/README.md -------------------------------------------------------------------------------- /week-2/01-async-js/easy/1-counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/easy/1-counter.js -------------------------------------------------------------------------------- /week-2/01-async-js/easy/1-counter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/easy/1-counter.md -------------------------------------------------------------------------------- /week-2/01-async-js/easy/2-counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/easy/2-counter.js -------------------------------------------------------------------------------- /week-2/01-async-js/easy/2-counter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/easy/2-counter.md -------------------------------------------------------------------------------- /week-2/01-async-js/easy/3-read-from-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/easy/3-read-from-file.js -------------------------------------------------------------------------------- /week-2/01-async-js/easy/3-read-from-file.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/easy/3-read-from-file.md -------------------------------------------------------------------------------- /week-2/01-async-js/easy/4-write-to-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/easy/4-write-to-file.js -------------------------------------------------------------------------------- /week-2/01-async-js/easy/4-write-to-file.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/easy/4-write-to-file.md -------------------------------------------------------------------------------- /week-2/01-async-js/easy/custom.txt: -------------------------------------------------------------------------------- 1 | this is file data -------------------------------------------------------------------------------- /week-2/01-async-js/easy/file.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/easy/file.txt -------------------------------------------------------------------------------- /week-2/01-async-js/hard (promises)/1-promisify-setTimeout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/hard (promises)/1-promisify-setTimeout.js -------------------------------------------------------------------------------- /week-2/01-async-js/hard (promises)/2-sleep-completely.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/hard (promises)/2-sleep-completely.js -------------------------------------------------------------------------------- /week-2/01-async-js/hard (promises)/3-promise-all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/hard (promises)/3-promise-all.js -------------------------------------------------------------------------------- /week-2/01-async-js/hard (promises)/4-promise-chain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/hard (promises)/4-promise-chain.js -------------------------------------------------------------------------------- /week-2/01-async-js/medium/1-file-cleaner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/medium/1-file-cleaner.js -------------------------------------------------------------------------------- /week-2/01-async-js/medium/1-file-cleaner.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/medium/1-file-cleaner.md -------------------------------------------------------------------------------- /week-2/01-async-js/medium/2-clock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/medium/2-clock.js -------------------------------------------------------------------------------- /week-2/01-async-js/medium/2-clock.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/medium/2-clock.md -------------------------------------------------------------------------------- /week-2/01-async-js/medium/cleanedFile.txt: -------------------------------------------------------------------------------- 1 | this is a file with extra spaces hehe -------------------------------------------------------------------------------- /week-2/01-async-js/medium/file.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/medium/file.txt -------------------------------------------------------------------------------- /week-2/01-async-js/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/package-lock.json -------------------------------------------------------------------------------- /week-2/01-async-js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/package.json -------------------------------------------------------------------------------- /week-2/01-async-js/tests/1-promisify-setTimeout.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/tests/1-promisify-setTimeout.test.js -------------------------------------------------------------------------------- /week-2/01-async-js/tests/2-sleep-completely.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/tests/2-sleep-completely.test.js -------------------------------------------------------------------------------- /week-2/01-async-js/tests/3-promise-all.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/tests/3-promise-all.test.js -------------------------------------------------------------------------------- /week-2/01-async-js/tests/4-promise-chain.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/01-async-js/tests/4-promise-chain.test.js -------------------------------------------------------------------------------- /week-2/02-nodejs/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /week-2/02-nodejs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/README.md -------------------------------------------------------------------------------- /week-2/02-nodejs/fileServer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/fileServer.js -------------------------------------------------------------------------------- /week-2/02-nodejs/files/a.txt: -------------------------------------------------------------------------------- 1 | hello from a.txt -------------------------------------------------------------------------------- /week-2/02-nodejs/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/package-lock.json -------------------------------------------------------------------------------- /week-2/02-nodejs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/package.json -------------------------------------------------------------------------------- /week-2/02-nodejs/solutions/fileServer.solution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/solutions/fileServer.solution.js -------------------------------------------------------------------------------- /week-2/02-nodejs/solutions/todoServer.solution.file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/solutions/todoServer.solution.file.js -------------------------------------------------------------------------------- /week-2/02-nodejs/solutions/todoServer.solution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/solutions/todoServer.solution.js -------------------------------------------------------------------------------- /week-2/02-nodejs/tests/fileServer.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/tests/fileServer.test.js -------------------------------------------------------------------------------- /week-2/02-nodejs/tests/todoServer.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/tests/todoServer.test.js -------------------------------------------------------------------------------- /week-2/02-nodejs/todoServer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/todoServer.js -------------------------------------------------------------------------------- /week-2/02-nodejs/todos.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-2/02-nodejs/todos.json -------------------------------------------------------------------------------- /week-3/01-middlewares/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /week-3/01-middlewares/01-requestcount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/01-requestcount.js -------------------------------------------------------------------------------- /week-3/01-middlewares/02-ratelimitter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/02-ratelimitter.js -------------------------------------------------------------------------------- /week-3/01-middlewares/03-errorcount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/03-errorcount.js -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/clover.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/clover.xml -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/coverage-final.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/coverage-final.json -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/01-requestcount.js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/01-requestcount.js.html -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/02-ratelimitter.js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/02-ratelimitter.js.html -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/03-errorcount.js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/03-errorcount.js.html -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/base.css -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/block-navigation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/block-navigation.js -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/favicon.png -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/index.html -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/prettify.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/prettify.css -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/prettify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/prettify.js -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/sort-arrow-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/sort-arrow-sprite.png -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov-report/sorter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov-report/sorter.js -------------------------------------------------------------------------------- /week-3/01-middlewares/coverage/lcov.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/coverage/lcov.info -------------------------------------------------------------------------------- /week-3/01-middlewares/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /week-3/01-middlewares/jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/jest.config.ts -------------------------------------------------------------------------------- /week-3/01-middlewares/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/package-lock.json -------------------------------------------------------------------------------- /week-3/01-middlewares/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/package.json -------------------------------------------------------------------------------- /week-3/01-middlewares/tests/01-requestcount.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/tests/01-requestcount.spec.js -------------------------------------------------------------------------------- /week-3/01-middlewares/tests/02-ratelimitter.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/tests/02-ratelimitter.spec.js -------------------------------------------------------------------------------- /week-3/01-middlewares/tests/03-errorcount.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/tests/03-errorcount.spec.js -------------------------------------------------------------------------------- /week-3/01-middlewares/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/01-middlewares/tsconfig.json -------------------------------------------------------------------------------- /week-3/02-jwt/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /week-3/02-jwt/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/02-jwt/index.js -------------------------------------------------------------------------------- /week-3/02-jwt/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/02-jwt/package-lock.json -------------------------------------------------------------------------------- /week-3/02-jwt/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/02-jwt/package.json -------------------------------------------------------------------------------- /week-3/02-jwt/tests/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/02-jwt/tests/index.spec.js -------------------------------------------------------------------------------- /week-3/02-jwt/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/02-jwt/tsconfig.json -------------------------------------------------------------------------------- /week-3/03-mongo/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env -------------------------------------------------------------------------------- /week-3/03-mongo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/README.md -------------------------------------------------------------------------------- /week-3/03-mongo/db/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/db/index.js -------------------------------------------------------------------------------- /week-3/03-mongo/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/index.js -------------------------------------------------------------------------------- /week-3/03-mongo/middleware/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/middleware/admin.js -------------------------------------------------------------------------------- /week-3/03-mongo/middleware/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/middleware/user.js -------------------------------------------------------------------------------- /week-3/03-mongo/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/package-lock.json -------------------------------------------------------------------------------- /week-3/03-mongo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/package.json -------------------------------------------------------------------------------- /week-3/03-mongo/routes/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/routes/admin.js -------------------------------------------------------------------------------- /week-3/03-mongo/routes/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/routes/user.js -------------------------------------------------------------------------------- /week-3/03-mongo/solution/db/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/solution/db/index.js -------------------------------------------------------------------------------- /week-3/03-mongo/solution/middleware/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/solution/middleware/admin.js -------------------------------------------------------------------------------- /week-3/03-mongo/solution/middleware/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/solution/middleware/user.js -------------------------------------------------------------------------------- /week-3/03-mongo/solution/routes/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/solution/routes/admin.js -------------------------------------------------------------------------------- /week-3/03-mongo/solution/routes/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/03-mongo/solution/routes/user.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/README.md -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/db/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/db/index.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/index.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/middleware/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/middleware/admin.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/middleware/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/middleware/user.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/package-lock.json -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/package.json -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/routes/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/routes/admin.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/routes/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/routes/user.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/solution/db/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/solution/db/index.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/solution/middleware/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/solution/middleware/admin.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/solution/middleware/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/solution/middleware/user.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/solution/routes/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/solution/routes/admin.js -------------------------------------------------------------------------------- /week-3/04-mongo-with-jwt-auth/solution/routes/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/04-mongo-with-jwt-auth/solution/routes/user.js -------------------------------------------------------------------------------- /week-3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/README.md -------------------------------------------------------------------------------- /week-3/solutions/01-requestcount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/solutions/01-requestcount.js -------------------------------------------------------------------------------- /week-3/solutions/02-ratelimitter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/solutions/02-ratelimitter.js -------------------------------------------------------------------------------- /week-3/solutions/02.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/solutions/02.js -------------------------------------------------------------------------------- /week-3/solutions/03-errorcount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-3/solutions/03-errorcount.js -------------------------------------------------------------------------------- /week-4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/README.md -------------------------------------------------------------------------------- /week-4/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/index.html -------------------------------------------------------------------------------- /week-4/react-basics/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/.eslintrc.cjs -------------------------------------------------------------------------------- /week-4/react-basics/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/.gitignore -------------------------------------------------------------------------------- /week-4/react-basics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/README.md -------------------------------------------------------------------------------- /week-4/react-basics/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/index.html -------------------------------------------------------------------------------- /week-4/react-basics/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/package-lock.json -------------------------------------------------------------------------------- /week-4/react-basics/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/package.json -------------------------------------------------------------------------------- /week-4/react-basics/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/postcss.config.js -------------------------------------------------------------------------------- /week-4/react-basics/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /week-4/react-basics/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/src/App.tsx -------------------------------------------------------------------------------- /week-4/react-basics/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/src/index.css -------------------------------------------------------------------------------- /week-4/react-basics/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/src/main.tsx -------------------------------------------------------------------------------- /week-4/react-basics/src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/src/vite-env.d.ts -------------------------------------------------------------------------------- /week-4/react-basics/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/tailwind.config.js -------------------------------------------------------------------------------- /week-4/react-basics/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/tsconfig.json -------------------------------------------------------------------------------- /week-4/react-basics/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/tsconfig.node.json -------------------------------------------------------------------------------- /week-4/react-basics/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-4/react-basics/vite.config.ts -------------------------------------------------------------------------------- /week-5/level-1/BusinessCard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/BusinessCard.png -------------------------------------------------------------------------------- /week-5/level-1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/README.md -------------------------------------------------------------------------------- /week-5/level-1/answer/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/.eslintrc.cjs -------------------------------------------------------------------------------- /week-5/level-1/answer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/.gitignore -------------------------------------------------------------------------------- /week-5/level-1/answer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/README.md -------------------------------------------------------------------------------- /week-5/level-1/answer/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/index.html -------------------------------------------------------------------------------- /week-5/level-1/answer/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/package-lock.json -------------------------------------------------------------------------------- /week-5/level-1/answer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/package.json -------------------------------------------------------------------------------- /week-5/level-1/answer/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/postcss.config.js -------------------------------------------------------------------------------- /week-5/level-1/answer/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/public/vite.svg -------------------------------------------------------------------------------- /week-5/level-1/answer/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/src/App.tsx -------------------------------------------------------------------------------- /week-5/level-1/answer/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/src/assets/react.svg -------------------------------------------------------------------------------- /week-5/level-1/answer/src/components/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/src/components/Card.tsx -------------------------------------------------------------------------------- /week-5/level-1/answer/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/src/index.css -------------------------------------------------------------------------------- /week-5/level-1/answer/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/src/main.tsx -------------------------------------------------------------------------------- /week-5/level-1/answer/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /week-5/level-1/answer/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/tailwind.config.js -------------------------------------------------------------------------------- /week-5/level-1/answer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/tsconfig.json -------------------------------------------------------------------------------- /week-5/level-1/answer/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/tsconfig.node.json -------------------------------------------------------------------------------- /week-5/level-1/answer/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/level-1/answer/vite.config.ts -------------------------------------------------------------------------------- /week-5/solutions/level-1/BusinessCard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-5/solutions/level-1/BusinessCard.jsx -------------------------------------------------------------------------------- /week-6/1-use-memo/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/.eslintrc.cjs -------------------------------------------------------------------------------- /week-6/1-use-memo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/.gitignore -------------------------------------------------------------------------------- /week-6/1-use-memo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/README.md -------------------------------------------------------------------------------- /week-6/1-use-memo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/index.html -------------------------------------------------------------------------------- /week-6/1-use-memo/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/package-lock.json -------------------------------------------------------------------------------- /week-6/1-use-memo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/package.json -------------------------------------------------------------------------------- /week-6/1-use-memo/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/public/vite.svg -------------------------------------------------------------------------------- /week-6/1-use-memo/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /week-6/1-use-memo/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/src/App.jsx -------------------------------------------------------------------------------- /week-6/1-use-memo/src/components/Assignment1.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/src/components/Assignment1.jsx -------------------------------------------------------------------------------- /week-6/1-use-memo/src/components/Assignment2.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/src/components/Assignment2.jsx -------------------------------------------------------------------------------- /week-6/1-use-memo/src/components/Assignment3.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/src/components/Assignment3.jsx -------------------------------------------------------------------------------- /week-6/1-use-memo/src/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /week-6/1-use-memo/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/src/main.jsx -------------------------------------------------------------------------------- /week-6/1-use-memo/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/1-use-memo/vite.config.js -------------------------------------------------------------------------------- /week-6/2-use-callback/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/.eslintrc.cjs -------------------------------------------------------------------------------- /week-6/2-use-callback/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/.gitignore -------------------------------------------------------------------------------- /week-6/2-use-callback/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/README.md -------------------------------------------------------------------------------- /week-6/2-use-callback/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/index.html -------------------------------------------------------------------------------- /week-6/2-use-callback/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/package-lock.json -------------------------------------------------------------------------------- /week-6/2-use-callback/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/package.json -------------------------------------------------------------------------------- /week-6/2-use-callback/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/public/vite.svg -------------------------------------------------------------------------------- /week-6/2-use-callback/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /week-6/2-use-callback/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/src/App.jsx -------------------------------------------------------------------------------- /week-6/2-use-callback/src/components/Assignment1.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/src/components/Assignment1.jsx -------------------------------------------------------------------------------- /week-6/2-use-callback/src/components/Assignment2.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/src/components/Assignment2.jsx -------------------------------------------------------------------------------- /week-6/2-use-callback/src/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /week-6/2-use-callback/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/src/main.jsx -------------------------------------------------------------------------------- /week-6/2-use-callback/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/vite.config.js -------------------------------------------------------------------------------- /week-6/2-use-callback/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/2-use-callback/yarn.lock -------------------------------------------------------------------------------- /week-6/3-use-ref/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/.eslintrc.cjs -------------------------------------------------------------------------------- /week-6/3-use-ref/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/.gitignore -------------------------------------------------------------------------------- /week-6/3-use-ref/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/README.md -------------------------------------------------------------------------------- /week-6/3-use-ref/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/index.html -------------------------------------------------------------------------------- /week-6/3-use-ref/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/package-lock.json -------------------------------------------------------------------------------- /week-6/3-use-ref/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/package.json -------------------------------------------------------------------------------- /week-6/3-use-ref/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/public/vite.svg -------------------------------------------------------------------------------- /week-6/3-use-ref/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /week-6/3-use-ref/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/src/App.jsx -------------------------------------------------------------------------------- /week-6/3-use-ref/src/components/Assignment1.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/src/components/Assignment1.jsx -------------------------------------------------------------------------------- /week-6/3-use-ref/src/components/Assignment2.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/src/components/Assignment2.jsx -------------------------------------------------------------------------------- /week-6/3-use-ref/src/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /week-6/3-use-ref/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/src/main.jsx -------------------------------------------------------------------------------- /week-6/3-use-ref/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/vite.config.js -------------------------------------------------------------------------------- /week-6/3-use-ref/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/3-use-ref/yarn.lock -------------------------------------------------------------------------------- /week-6/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/README.md -------------------------------------------------------------------------------- /week-6/solutions/1/components/Assignment1.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/solutions/1/components/Assignment1.jsx -------------------------------------------------------------------------------- /week-6/solutions/1/components/Assignment2.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/solutions/1/components/Assignment2.jsx -------------------------------------------------------------------------------- /week-6/solutions/1/components/Assignment3.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/solutions/1/components/Assignment3.jsx -------------------------------------------------------------------------------- /week-6/solutions/2/components/Assignment1.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/solutions/2/components/Assignment1.jsx -------------------------------------------------------------------------------- /week-6/solutions/2/components/Assignment2.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/solutions/2/components/Assignment2.jsx -------------------------------------------------------------------------------- /week-6/solutions/3/components/Assignment1.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/solutions/3/components/Assignment1.jsx -------------------------------------------------------------------------------- /week-6/solutions/3/components/Assignment2.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-6/solutions/3/components/Assignment2.jsx -------------------------------------------------------------------------------- /week-7/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/.eslintrc.cjs -------------------------------------------------------------------------------- /week-7/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/.gitignore -------------------------------------------------------------------------------- /week-7/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/README.md -------------------------------------------------------------------------------- /week-7/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/index.html -------------------------------------------------------------------------------- /week-7/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/package-lock.json -------------------------------------------------------------------------------- /week-7/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/package.json -------------------------------------------------------------------------------- /week-7/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/postcss.config.js -------------------------------------------------------------------------------- /week-7/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/public/vite.svg -------------------------------------------------------------------------------- /week-7/src/App.css: -------------------------------------------------------------------------------- 1 | .active { 2 | border: 1px solid grey; 3 | } 4 | -------------------------------------------------------------------------------- /week-7/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/src/App.tsx -------------------------------------------------------------------------------- /week-7/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/src/assets/react.svg -------------------------------------------------------------------------------- /week-7/src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/src/components/Header.tsx -------------------------------------------------------------------------------- /week-7/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/src/index.css -------------------------------------------------------------------------------- /week-7/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/src/main.tsx -------------------------------------------------------------------------------- /week-7/src/pages/ColorChanger.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/src/pages/ColorChanger.tsx -------------------------------------------------------------------------------- /week-7/src/pages/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/src/pages/Home.tsx -------------------------------------------------------------------------------- /week-7/src/pages/ParagraphGen.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/src/pages/ParagraphGen.tsx -------------------------------------------------------------------------------- /week-7/src/pages/ProfileCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/src/pages/ProfileCard.tsx -------------------------------------------------------------------------------- /week-7/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /week-7/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/tailwind.config.js -------------------------------------------------------------------------------- /week-7/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/tsconfig.json -------------------------------------------------------------------------------- /week-7/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/tsconfig.node.json -------------------------------------------------------------------------------- /week-7/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-7/vite.config.ts -------------------------------------------------------------------------------- /week-8-paytm/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/Dockerfile -------------------------------------------------------------------------------- /week-8-paytm/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Build a basic version of PayTM 3 | -------------------------------------------------------------------------------- /week-8-paytm/backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/package-lock.json -------------------------------------------------------------------------------- /week-8-paytm/backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/package.json -------------------------------------------------------------------------------- /week-8-paytm/backend/src/controllers/accountController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/controllers/accountController.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/src/controllers/userController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/controllers/userController.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/index.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/src/lib/dbconnect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/lib/dbconnect.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/src/middlewares/verifyToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/middlewares/verifyToken.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/src/models/Account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/models/Account.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/src/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/models/User.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/src/routes/accountRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/routes/accountRouter.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/src/routes/mainRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/routes/mainRouter.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/src/routes/userRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/src/routes/userRouter.ts -------------------------------------------------------------------------------- /week-8-paytm/backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/backend/tsconfig.json -------------------------------------------------------------------------------- /week-8-paytm/frontend/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/.eslintrc.cjs -------------------------------------------------------------------------------- /week-8-paytm/frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/.gitignore -------------------------------------------------------------------------------- /week-8-paytm/frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/README.md -------------------------------------------------------------------------------- /week-8-paytm/frontend/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/components.json -------------------------------------------------------------------------------- /week-8-paytm/frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/index.html -------------------------------------------------------------------------------- /week-8-paytm/frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/package-lock.json -------------------------------------------------------------------------------- /week-8-paytm/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/package.json -------------------------------------------------------------------------------- /week-8-paytm/frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/postcss.config.js -------------------------------------------------------------------------------- /week-8-paytm/frontend/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/public/vite.svg -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/App.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/assets/react.svg -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/components/Header.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/components/UserItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/components/UserItem.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/components/theme-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/components/theme-provider.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/components/ui/button.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/components/ui/input.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/components/ui/sonner.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/index.css -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/lib/utils.ts -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/main.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/pages/Dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/pages/Dashboard.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/pages/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/pages/Home.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/pages/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/pages/Login.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/pages/NotFound.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/pages/NotFound.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/pages/Signup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/pages/Signup.tsx -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/redux/slices/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/redux/slices/api.ts -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/redux/slices/appSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/redux/slices/appSlice.ts -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/redux/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/redux/store.ts -------------------------------------------------------------------------------- /week-8-paytm/frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/src/vite-env.d.ts -------------------------------------------------------------------------------- /week-8-paytm/frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/tailwind.config.js -------------------------------------------------------------------------------- /week-8-paytm/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/tsconfig.json -------------------------------------------------------------------------------- /week-8-paytm/frontend/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/tsconfig.node.json -------------------------------------------------------------------------------- /week-8-paytm/frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharSoni014/harkirat-cohort-assignments/HEAD/week-8-paytm/frontend/vite.config.ts --------------------------------------------------------------------------------