├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── 007 Student Contributions ├── 0_Subham Chakraborty │ ├── 1 HTML & CSS │ │ ├── Login And Register web page │ │ │ ├── README.md │ │ │ ├── background-img.jpg │ │ │ ├── index.html │ │ │ ├── script.js │ │ │ └── styles.css │ │ ├── Myntra clone │ │ │ ├── Men.css │ │ │ ├── Men.html │ │ │ ├── images │ │ │ │ ├── Men │ │ │ │ │ ├── aplay.png │ │ │ │ │ ├── gplay.png │ │ │ │ │ ├── image.png │ │ │ │ │ ├── img10.png │ │ │ │ │ ├── img11.png │ │ │ │ │ ├── img12.png │ │ │ │ │ ├── img13.png │ │ │ │ │ ├── img14.png │ │ │ │ │ ├── img15.png │ │ │ │ │ ├── img16.png │ │ │ │ │ ├── img17.png │ │ │ │ │ ├── img18.png │ │ │ │ │ ├── img19.png │ │ │ │ │ ├── img2.png │ │ │ │ │ ├── img20.png │ │ │ │ │ ├── img21.png │ │ │ │ │ ├── img22.png │ │ │ │ │ ├── img3.png │ │ │ │ │ ├── img4.png │ │ │ │ │ ├── img5.png │ │ │ │ │ ├── img6.png │ │ │ │ │ ├── img7.png │ │ │ │ │ ├── img8.png │ │ │ │ │ ├── img9.png │ │ │ │ │ └── original_return.png │ │ │ │ ├── banner.jpg │ │ │ │ ├── categories │ │ │ │ │ ├── 1.jpg │ │ │ │ │ ├── 10.jpg │ │ │ │ │ ├── 2.jpg │ │ │ │ │ ├── 3.jpg │ │ │ │ │ ├── 4.jpg │ │ │ │ │ ├── 5.jpg │ │ │ │ │ ├── 6.jpg │ │ │ │ │ ├── 7.jpg │ │ │ │ │ ├── 8.jpg │ │ │ │ │ └── 9.jpg │ │ │ │ ├── myntra_logo.webp │ │ │ │ └── offers │ │ │ │ │ ├── 1.png │ │ │ │ │ ├── 10.png │ │ │ │ │ ├── 11.png │ │ │ │ │ ├── 12.png │ │ │ │ │ ├── 2.png │ │ │ │ │ ├── 3.png │ │ │ │ │ ├── 4.png │ │ │ │ │ ├── 5.png │ │ │ │ │ ├── 6.png │ │ │ │ │ ├── 7.png │ │ │ │ │ ├── 8.png │ │ │ │ │ └── 9.png │ │ │ ├── index.css │ │ │ └── index.html │ │ └── Test.html │ ├── React Moderate │ │ ├── Handling Events │ │ │ └── handling-events │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── eslint.config.js │ │ │ │ ├── index.html │ │ │ │ ├── package-lock.json │ │ │ │ ├── package.json │ │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ │ ├── src │ │ │ │ ├── App.css │ │ │ │ ├── App.jsx │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ ├── index.css │ │ │ │ ├── input.css │ │ │ │ ├── main.jsx │ │ │ │ └── output.css │ │ │ │ ├── tailwind.config.js │ │ │ │ └── vite.config.js │ │ ├── conditional-rendering │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ ├── src │ │ │ │ ├── App.jsx │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ ├── components │ │ │ │ │ └── List.jsx │ │ │ │ ├── input.css │ │ │ │ ├── main.jsx │ │ │ │ └── output.css │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ │ ├── context-api-v2 │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── postcss.config.js │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ ├── src │ │ │ │ ├── App.jsx │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ ├── components │ │ │ │ │ ├── Heading.jsx │ │ │ │ │ └── ToggleButton.jsx │ │ │ │ ├── index.css │ │ │ │ ├── main.jsx │ │ │ │ └── store │ │ │ │ │ └── ThemeContext.jsx │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ │ ├── context-api │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── postcss.config.js │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ ├── src │ │ │ │ ├── App.jsx │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ ├── components │ │ │ │ │ ├── Heading.jsx │ │ │ │ │ └── ToggleButton.jsx │ │ │ │ ├── index.css │ │ │ │ ├── main.jsx │ │ │ │ └── store │ │ │ │ │ └── ThemeContext.jsx │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ │ ├── css-modules │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ ├── src │ │ │ │ ├── App.jsx │ │ │ │ ├── App.module.css │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ └── main.jsx │ │ │ └── vite.config.js │ │ ├── passing-components │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ ├── src │ │ │ │ ├── App.jsx │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ ├── components │ │ │ │ │ └── Container.jsx │ │ │ │ ├── input.css │ │ │ │ ├── main.jsx │ │ │ │ └── output.css │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ │ ├── passing-functions-via-props │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ ├── src │ │ │ │ ├── App.jsx │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ ├── input.css │ │ │ │ ├── main.jsx │ │ │ │ └── output.css │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ │ ├── state-management │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── postcss.config.js │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ ├── src │ │ │ │ ├── App.jsx │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ ├── index.css │ │ │ │ └── main.jsx │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ │ ├── to-do-app-using-useState-useRef copy │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.css │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── postcss.config.js │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ ├── src │ │ │ │ ├── App.jsx │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ ├── components │ │ │ │ │ ├── Heading.jsx │ │ │ │ │ ├── Input.jsx │ │ │ │ │ ├── Items.jsx │ │ │ │ │ └── ItemsList.jsx │ │ │ │ ├── data │ │ │ │ │ └── Data.jsx │ │ │ │ ├── index.css │ │ │ │ └── main.jsx │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ │ ├── to-do-app-using-useState-useRef │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.css │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── postcss.config.js │ │ │ ├── public │ │ │ │ └── vite.svg │ │ │ ├── src │ │ │ │ ├── App.jsx │ │ │ │ ├── assets │ │ │ │ │ └── react.svg │ │ │ │ ├── components │ │ │ │ │ ├── Heading.jsx │ │ │ │ │ ├── Input.jsx │ │ │ │ │ ├── Items.jsx │ │ │ │ │ └── ItemsList.jsx │ │ │ │ ├── data │ │ │ │ │ └── Data.jsx │ │ │ │ ├── index.css │ │ │ │ └── main.jsx │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ │ └── use-VS-ref-state-management │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── postcss.config.js │ │ │ ├── public │ │ │ └── vite.svg │ │ │ ├── src │ │ │ ├── App.jsx │ │ │ ├── index.css │ │ │ └── main.jsx │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ ├── React │ │ └── 5-app │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── eslint.config.js │ │ │ ├── index.html │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── tailwind.config.js │ │ │ └── vite.config.js │ ├── index.html │ └── readme.md ├── Abhijeet Rauthan │ └── abhi.txt ├── Abhyas │ └── index.html ├── Adiba Banu │ └── index.html ├── Aditya │ ├── index.html │ └── index.txt ├── Alok │ └── index.js ├── Aman-kathait │ └── first.txt ├── AshishKumar │ └── index.html ├── Ashok pal │ └── index.html ├── Atul Ranjan │ └── index.html ├── Chandan Gupta │ └── index.html ├── Chhavi │ └── testing.html ├── Debjit Ghosh │ └── index.html ├── Deepa │ └── index.html ├── Deepak │ └── index.txt ├── Deepti │ └── temp.txt ├── Digambar │ └── index.html ├── Faisal Hayyat │ └── index.html ├── Gurpeet_singh │ └── temp.txt ├── Ish │ └── index.html ├── JAI GOYAL │ └── jai.txt ├── KHAN SOHEB │ └── index.html ├── Kanav Dawar │ └── index.html ├── Laksh-Lukhi │ └── index.html ├── Mahato │ └── index.html ├── Manjeet │ └── index.html ├── Mitesh │ └── index.html ├── Mohit_bari │ ├── index.html │ └── index2.html ├── Nidhi Uniyal │ └── index.html ├── Niraj │ ├── index.css │ └── index.html ├── NirajKumar │ └── index.html ├── Niranjan │ └── Index.html ├── Preet_Chauhan │ ├── Git Advance │ │ └── Git.txt │ ├── Projects │ │ ├── Git.Html │ │ ├── Pr1.html │ │ └── Pr1.js │ └── React Projects │ │ ├── 20-todo-backend │ │ ├── app.js │ │ ├── package-lock.json │ │ ├── package.json │ │ └── todoItems.js │ │ └── 21-TodoApp-Context-api-useReducer-Backend │ │ ├── .gitignore │ │ ├── README.md │ │ ├── eslint.config.js │ │ ├── index.html │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── postcss.config.js │ │ ├── public │ │ └── vite.svg │ │ ├── src │ │ ├── App.css │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── AddTodo.jsx │ │ │ ├── AddTodoItems.jsx │ │ │ ├── LoadItems.jsx │ │ │ ├── TodoButtons.jsx │ │ │ └── TodoItemUI.jsx │ │ ├── index.css │ │ ├── main.jsx │ │ ├── store │ │ │ ├── TodoItemContext.jsx │ │ │ └── initialTodoItems.jsx │ │ └── utils │ │ │ └── ModelUtils.jsx │ │ ├── tailwind.config.js │ │ └── vite.config.js ├── Prince │ └── prince.txt ├── Priyank-aswal │ └── priyank.html ├── Priyank │ └── priyank.txt ├── Rahul Dev │ └── index.html ├── Rohit │ └── index.html ├── Sachin Burujpatte │ └── index.html ├── Shruti Aher │ └── index.html ├── Simson │ └── index.html ├── Subhankar Bhattacharjee │ └── Index.html ├── Syed Hassan │ └── index.html ├── Umar Ali │ └── index.html ├── Yousuf │ └── test.txt ├── chaitanya │ └── index.html ├── faisalmehmood │ └── index.html ├── kanchan │ └── index.html ├── mkashif │ └── temp.txt ├── moin-tak │ └── md-tak.txt ├── nafees │ └── temp.txt ├── noman_khan │ └── index.html ├── ridoyDey │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── components │ │ │ ├── AppName.tsx │ │ │ ├── TodoInput.tsx │ │ │ ├── TodoItem.tsx │ │ │ ├── TodoItems.tsx │ │ │ └── style.css │ │ ├── index.html │ │ ├── index.tsx │ │ ├── models.ts │ │ └── react-app-env.d.ts │ └── tsconfig.json ├── rishi │ └── rishi_git.txt ├── shashank │ └── cards │ │ ├── index.html │ │ └── style.css ├── shubham_Bhavsar │ └── index.html ├── temp2.txt └── vijay kumar │ └── index.js ├── 1 HTML and CSS ├── 1 template │ └── index.html ├── 10 Box Model │ └── box.html ├── 11 Display │ ├── display.html │ ├── float.html │ ├── position.html │ ├── styles │ │ ├── float.css │ │ └── position.css │ └── units.html ├── 12 Flexbox │ ├── flex.html │ └── styles │ │ └── flex.css ├── 13 Selectors │ ├── attribute-selector.html │ ├── box-shadow.html │ ├── child-selector.html │ ├── min-max.html │ ├── overflow.html │ ├── pseudo-classes.html │ ├── sibling selector.html │ ├── styles │ │ ├── attribute-selector.css │ │ └── overflow.css │ └── variables.html ├── 14 Media Queries │ ├── media-query.html │ └── media-type.html ├── 15 Animations │ ├── animation.html │ ├── transform.html │ └── transition.html ├── 16 Grid │ ├── basic.html │ ├── grid-template-area.html │ ├── index.html │ ├── styles │ │ └── area.css │ └── temp.html ├── 2 first project │ └── index.html ├── 3 HTML Tags │ ├── anchor.html │ ├── br and hr.html │ ├── images.html │ ├── images │ │ └── html icon.png │ ├── practise.html │ ├── text-formatting.html │ ├── video.html │ └── videos │ │ └── LeetCode 231 Power of Two.mp4 ├── 4 CSS Basics │ ├── group.html │ ├── id and class.html │ ├── index.html │ ├── practice set.html │ └── styles │ │ ├── group.css │ │ ├── practice.css │ │ ├── selector.css │ │ └── style.css ├── 5 html core tags │ ├── semantic.html │ └── styles │ │ └── semantic.css ├── 6 More CSS │ ├── images │ │ └── html.png │ ├── practice.html │ └── styles │ │ └── practise.css ├── 8 List Tables and Forms │ ├── form.html │ ├── iframe.html │ ├── list.html │ ├── styles │ │ └── list.css │ └── table.html ├── 9 Text Properties │ ├── icons.html │ ├── styles │ │ └── text.css │ └── text.html └── Exercise 5 │ ├── index.html │ └── styles │ └── styles.css ├── 2 JavaScript ├── 1 Trying Node │ ├── first.js │ └── first_js.html ├── 10 Destructuring Spread Rest │ ├── destructure.js │ ├── rest.js │ └── spread.js ├── 11 Callbacks Arrow Functions │ ├── Callback.js │ └── anonymous.js ├── 12 Arrow Function │ ├── arrow.js │ ├── closure.js │ └── higher_order_function.js ├── 13 Timeout and Interval │ └── timeout_interval.js ├── 14 Event Handling │ ├── bubbling.html │ ├── bubbling.js │ ├── event.html │ └── event.js ├── 15 Constructor │ └── first.js ├── 16 this │ ├── index.html │ └── this.js ├── 17 inheritance │ ├── inheritance.js │ └── static.js ├── 18 Error Handling │ ├── finally.js │ ├── handling.js │ └── throwing.js ├── 19 Promise │ ├── callback.js │ ├── fetch.js │ └── promise.js ├── 2 variables │ └── index.html ├── 20 Async Await │ ├── async.js │ └── await.js ├── 21 Import Export │ ├── calculator.js │ └── math.js ├── 3 Decision Control │ ├── comparison-operator.js │ ├── if-alternatives.js │ ├── if-else-if.js │ ├── including.html │ ├── index.html │ ├── logical.js │ ├── nested-if.js │ ├── switch.js │ └── template-literal.js ├── 4 Functions │ ├── index.html │ └── scripts │ │ ├── call-by-value.js │ │ ├── function.js │ │ └── scope.js ├── 5 Loops │ ├── index.html │ └── scripts │ │ └── loop.js ├── 6 Types Coercion │ ├── index.html │ ├── recursion.js │ └── script.js ├── 7 Objects │ ├── index.html │ ├── method.js │ ├── object.js │ ├── reference.js │ └── reference_in_function.js ├── 8 Arrays │ ├── array.js │ └── array_methods.js ├── 9 JSON │ ├── json.js │ ├── local_storage.js │ ├── object.js │ └── object_copy.js ├── Practise exercise │ ├── calculator.html │ ├── first.html │ ├── loop.html │ ├── myntra-bag.html │ ├── rock-paper-scissors.html │ ├── script │ │ ├── game.js │ │ ├── loop.js │ │ └── loop2.js │ └── style │ │ ├── calculator.css │ │ └── rock-paper-scissors.css └── index.html ├── 3 React ├── 1-first-react-app │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ └── src │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ ├── index.css │ │ ├── index.js │ │ ├── logo.svg │ │ ├── reportWebVitals.js │ │ └── setupTests.js ├── 10-css-modules │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── App.module.css │ │ ├── Container.jsx │ │ ├── Container.module.css │ │ ├── Temp.jsx │ │ ├── Temp.module.css │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 11-react-tailwind-portfolio │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── src │ │ ├── App.jsx │ │ ├── assets │ │ │ └── passport.png │ │ ├── components │ │ │ ├── AboutMe.jsx │ │ │ ├── Contact.jsx │ │ │ ├── Education.jsx │ │ │ ├── Extracurricular.jsx │ │ │ ├── Graduation.jsx │ │ │ ├── Header.jsx │ │ │ ├── Hobbies.jsx │ │ │ ├── List.jsx │ │ │ ├── Pill.jsx │ │ │ ├── Section.jsx │ │ │ ├── Skills.jsx │ │ │ ├── SocialMedia.jsx │ │ │ └── project │ │ │ │ ├── Project.jsx │ │ │ │ ├── Projects.jsx │ │ │ │ └── TechPill.jsx │ │ ├── index.css │ │ └── main.jsx │ ├── tailwind.config.js │ └── vite.config.js ├── 12-learing-state │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ └── List.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 13-calculator │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ ├── Button.jsx │ │ │ ├── Display.jsx │ │ │ └── NumberPad.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 14-use-ref │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── StateVsRef.jsx │ │ │ └── TestForm.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 15-todo-app │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── AddTodo.jsx │ │ │ ├── AppName.jsx │ │ │ ├── Button.jsx │ │ │ ├── TodoItem.jsx │ │ │ └── TodoItems.jsx │ │ ├── data │ │ │ └── InitialTodoItems.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 16-Context-API │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ ├── ThemeToggle.jsx │ │ │ └── Welcome.jsx │ │ ├── index.css │ │ ├── main.jsx │ │ └── store │ │ │ └── ThemeContext.jsx │ ├── tailwind.config.js │ └── vite.config.js ├── 17-todo-app context-api │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── AddTodo.jsx │ │ │ ├── AppName.jsx │ │ │ ├── Button.jsx │ │ │ ├── TodoItem.jsx │ │ │ └── TodoItems.jsx │ │ ├── index.css │ │ ├── main.jsx │ │ └── store │ │ │ ├── InitialTodoItems.jsx │ │ │ └── TodoItemsContext.jsx │ └── vite.config.js ├── 18-use-reducer-counter │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 19-todo-app context-api-use-reducer │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── AddTodo.jsx │ │ │ ├── AppName.jsx │ │ │ ├── Button.jsx │ │ │ ├── TodoItem.jsx │ │ │ └── TodoItems.jsx │ │ ├── index.css │ │ ├── main.jsx │ │ └── store │ │ │ ├── InitialTodoItems.jsx │ │ │ ├── TodoItemsContext.jsx │ │ │ └── TodoItemsReducer.js │ └── vite.config.js ├── 2-second-react-app │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ └── src │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ ├── index.css │ │ ├── index.js │ │ ├── logo.svg │ │ ├── reportWebVitals.js │ │ └── setupTests.js ├── 20-todo-app with backend │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── AddTodo.jsx │ │ │ ├── AppName.jsx │ │ │ ├── Button.jsx │ │ │ ├── LoadItems.jsx │ │ │ ├── TodoItem.jsx │ │ │ └── TodoItems.jsx │ │ ├── index.css │ │ ├── main.jsx │ │ ├── store │ │ │ ├── TodoItemsContext.jsx │ │ │ └── TodoItemsReducer.js │ │ └── utils │ │ │ └── ModelUtil.js │ └── vite.config.js ├── 20-todo-backend │ ├── app.js │ ├── package-lock.json │ ├── package.json │ └── todoItems.js ├── 3-vite-project │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 4-first-component │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.css │ │ ├── App.jsx │ │ ├── components │ │ │ ├── Button.css │ │ │ ├── Button.jsx │ │ │ ├── DynamicComponent.jsx │ │ │ ├── Heading.css │ │ │ ├── Heading.jsx │ │ │ ├── Paragraph.jsx │ │ │ ├── RandomNumber.jsx │ │ │ ├── StudentList.jsx │ │ │ └── Title.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 5-using-bootstrap │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ └── main.jsx │ └── vite.config.js ├── 6-todo-ui-bootstrap │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── AddTodo.jsx │ │ │ ├── AppName.jsx │ │ │ ├── Button.jsx │ │ │ ├── TodoItem.jsx │ │ │ └── TodoItems.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 7-using-bootstrap │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── 8-lucide-icons │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js └── 9-learning-map │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── App.jsx │ ├── components │ │ └── List.jsx │ ├── index.css │ ├── input.css │ ├── main.jsx │ ├── map.js │ └── output.css │ ├── tailwind.config.js │ └── vite.config.js ├── 4 Tailwind ├── 1 First │ └── index.html └── 2 Second │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── input.css │ └── output.css │ └── tailwind.config.js ├── 5 NodeJs and ExpressJs ├── 1 First Sample Server │ ├── app.js │ └── test.html ├── 10 Dynamic Path │ ├── app.js │ ├── controllers │ │ ├── errorController.js │ │ ├── hostController.js │ │ └── storeController.js │ ├── data │ │ ├── favourite.json │ │ └── homes.json │ ├── models │ │ ├── Favourite.js │ │ └── Home.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── images │ │ │ ├── house1.png │ │ │ ├── house2.png │ │ │ ├── house3.png │ │ │ ├── house4.png │ │ │ ├── house5.png │ │ │ ├── house6.png │ │ │ ├── house7.png │ │ │ └── house8.png │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── host │ │ ├── edit-home.ejs │ │ ├── home-added.ejs │ │ └── host-homes.ejs │ │ ├── partials │ │ ├── add-to-favourite.ejs │ │ ├── head.ejs │ │ └── nav.ejs │ │ └── store │ │ ├── favourites.ejs │ │ ├── home-detail.ejs │ │ ├── homes.ejs │ │ └── index.ejs ├── 11 mysql │ ├── app.js │ ├── controllers │ │ ├── errorController.js │ │ ├── hostController.js │ │ └── storeController.js │ ├── data │ │ └── favourite.json │ ├── models │ │ ├── Favourite.js │ │ └── Home.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── images │ │ │ ├── house1.png │ │ │ ├── house2.png │ │ │ ├── house3.png │ │ │ ├── house4.png │ │ │ ├── house5.png │ │ │ ├── house6.png │ │ │ ├── house7.png │ │ │ └── house8.png │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ │ ├── database-util.js │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── host │ │ ├── edit-home.ejs │ │ ├── home-added.ejs │ │ └── host-homes.ejs │ │ ├── partials │ │ ├── add-to-favourite.ejs │ │ ├── head.ejs │ │ └── nav.ejs │ │ └── store │ │ ├── favourites.ejs │ │ ├── home-detail.ejs │ │ ├── homes.ejs │ │ └── index.ejs ├── 12 mongodb │ ├── app.js │ ├── controllers │ │ ├── errorController.js │ │ ├── hostController.js │ │ └── storeController.js │ ├── models │ │ ├── Favourite.js │ │ └── Home.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── images │ │ │ ├── house1.png │ │ │ ├── house2.png │ │ │ ├── house3.png │ │ │ ├── house4.png │ │ │ ├── house5.png │ │ │ ├── house6.png │ │ │ ├── house7.png │ │ │ └── house8.png │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ │ ├── database-util.js │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── host │ │ ├── edit-home.ejs │ │ └── host-homes.ejs │ │ ├── partials │ │ ├── add-to-favourite.ejs │ │ ├── head.ejs │ │ └── nav.ejs │ │ └── store │ │ ├── favourites.ejs │ │ ├── home-detail.ejs │ │ ├── homes.ejs │ │ └── index.ejs ├── 13 mongoose │ ├── app.js │ ├── controllers │ │ ├── errorController.js │ │ ├── hostController.js │ │ └── storeController.js │ ├── models │ │ ├── Favourite.js │ │ └── Home.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── images │ │ │ ├── house1.png │ │ │ ├── house2.png │ │ │ ├── house3.png │ │ │ ├── house4.png │ │ │ ├── house5.png │ │ │ ├── house6.png │ │ │ ├── house7.png │ │ │ └── house8.png │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── host │ │ ├── edit-home.ejs │ │ └── host-homes.ejs │ │ ├── partials │ │ ├── add-to-favourite.ejs │ │ ├── head.ejs │ │ └── nav.ejs │ │ └── store │ │ ├── favourites.ejs │ │ ├── home-detail.ejs │ │ ├── homes.ejs │ │ └── index.ejs ├── 14 cookies and sessions │ ├── app.js │ ├── controllers │ │ ├── authController.js │ │ ├── errorController.js │ │ ├── hostController.js │ │ └── storeController.js │ ├── models │ │ ├── Favourite.js │ │ └── Home.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── images │ │ │ ├── house1.png │ │ │ ├── house2.png │ │ │ ├── house3.png │ │ │ ├── house4.png │ │ │ ├── house5.png │ │ │ ├── house6.png │ │ │ ├── house7.png │ │ │ └── house8.png │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── authRouter.js │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── auth │ │ └── login.ejs │ │ ├── host │ │ ├── edit-home.ejs │ │ └── host-homes.ejs │ │ ├── partials │ │ ├── add-to-favourite.ejs │ │ ├── head.ejs │ │ └── nav.ejs │ │ └── store │ │ ├── favourites.ejs │ │ ├── home-detail.ejs │ │ ├── homes.ejs │ │ └── index.ejs ├── 15 authentication │ ├── app.js │ ├── controllers │ │ ├── authController.js │ │ ├── errorController.js │ │ ├── hostController.js │ │ └── storeController.js │ ├── models │ │ ├── Home.js │ │ └── User.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── images │ │ │ ├── house1.png │ │ │ ├── house2.png │ │ │ ├── house3.png │ │ │ ├── house4.png │ │ │ ├── house5.png │ │ │ ├── house6.png │ │ │ ├── house7.png │ │ │ └── house8.png │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── authRouter.js │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── auth │ │ ├── login.ejs │ │ └── signup.ejs │ │ ├── host │ │ ├── edit-home.ejs │ │ └── host-homes.ejs │ │ ├── partials │ │ ├── add-to-favourite.ejs │ │ ├── error-messages.ejs │ │ ├── head.ejs │ │ └── nav.ejs │ │ └── store │ │ ├── favourites.ejs │ │ ├── home-detail.ejs │ │ ├── homes.ejs │ │ └── index.ejs ├── 16 email and advance auth │ ├── app.js │ ├── controllers │ │ ├── authController.js │ │ ├── errorController.js │ │ ├── hostController.js │ │ ├── storeController.js │ │ └── validations.js │ ├── models │ │ ├── Home.js │ │ └── User.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── images │ │ │ ├── house1.png │ │ │ ├── house2.png │ │ │ ├── house3.png │ │ │ ├── house4.png │ │ │ ├── house5.png │ │ │ ├── house6.png │ │ │ ├── house7.png │ │ │ └── house8.png │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── authRouter.js │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── auth │ │ ├── forgot.ejs │ │ ├── login.ejs │ │ ├── reset_password.ejs │ │ └── signup.ejs │ │ ├── host │ │ ├── edit-home.ejs │ │ └── host-homes.ejs │ │ ├── partials │ │ ├── add-to-favourite.ejs │ │ ├── error-messages.ejs │ │ ├── head.ejs │ │ └── nav.ejs │ │ └── store │ │ ├── favourites.ejs │ │ ├── home-detail.ejs │ │ ├── homes.ejs │ │ └── index.ejs ├── 17 upload and download │ ├── app.js │ ├── controllers │ │ ├── authController.js │ │ ├── errorController.js │ │ ├── hostController.js │ │ ├── storeController.js │ │ └── validations.js │ ├── models │ │ ├── Home.js │ │ └── User.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── images │ │ │ ├── house1.png │ │ │ ├── house2.png │ │ │ ├── house3.png │ │ │ ├── house4.png │ │ │ ├── house5.png │ │ │ ├── house6.png │ │ │ ├── house7.png │ │ │ └── house8.png │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── authRouter.js │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── rules │ │ └── Airbnb-Rules.pdf │ ├── tailwind.config.js │ ├── uploads │ │ └── photo.jpg │ ├── util │ │ ├── file.js │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── auth │ │ ├── forgot.ejs │ │ ├── login.ejs │ │ ├── reset_password.ejs │ │ └── signup.ejs │ │ ├── host │ │ ├── edit-home.ejs │ │ └── host-homes.ejs │ │ ├── partials │ │ ├── add-to-favourite.ejs │ │ ├── error-messages.ejs │ │ ├── head.ejs │ │ └── nav.ejs │ │ └── store │ │ ├── favourites.ejs │ │ ├── home-detail.ejs │ │ ├── homes.ejs │ │ └── index.ejs ├── 18 deployment │ ├── .env.example │ ├── app.js │ ├── controllers │ │ ├── authController.js │ │ ├── errorController.js │ │ ├── hostController.js │ │ ├── storeController.js │ │ └── validations.js │ ├── models │ │ ├── Home.js │ │ └── User.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── images │ │ │ ├── house1.png │ │ │ ├── house2.png │ │ │ ├── house3.png │ │ │ ├── house4.png │ │ │ ├── house5.png │ │ │ ├── house6.png │ │ │ ├── house7.png │ │ │ └── house8.png │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── authRouter.js │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── rules │ │ └── Airbnb-Rules.pdf │ ├── tailwind.config.js │ ├── uploads │ │ └── pick.jpg │ ├── util │ │ ├── file.js │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── auth │ │ ├── forgot.ejs │ │ ├── login.ejs │ │ ├── reset_password.ejs │ │ └── signup.ejs │ │ ├── host │ │ ├── edit-home.ejs │ │ └── host-homes.ejs │ │ ├── partials │ │ ├── add-to-favourite.ejs │ │ ├── error-messages.ejs │ │ ├── head.ejs │ │ └── nav.ejs │ │ └── store │ │ ├── favourites.ejs │ │ ├── home-detail.ejs │ │ ├── homes.ejs │ │ └── index.ejs ├── 2 Routing Request │ ├── app.js │ ├── buy.txt │ └── test.html ├── 3 Parsing and Modules │ ├── RequestHandler.js │ ├── app.js │ ├── buy.txt │ └── test.html ├── 4 npm and tools │ ├── RequestHandler.js │ ├── app.js │ ├── buy.txt │ ├── package-lock.json │ ├── package.json │ └── test.html ├── 5 starting express │ ├── app.js │ ├── buy.txt │ ├── package-lock.json │ ├── package.json │ └── test.html ├── 6 express deepdive │ ├── app.js │ ├── buy.json │ ├── package-lock.json │ ├── package.json │ └── test.html ├── 7 airbnb │ ├── app.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ │ └── path-util.js │ └── views │ │ ├── 404.html │ │ ├── add-home.html │ │ ├── home-added.html │ │ └── index.html ├── 8 dynamic ui │ ├── app.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── styles │ │ │ ├── input.css │ │ │ └── output.css │ ├── routers │ │ ├── hostRouter.js │ │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ │ └── path-util.js │ └── views │ │ ├── 404.ejs │ │ ├── add-home.ejs │ │ ├── home-added.ejs │ │ ├── index.ejs │ │ └── partials │ │ ├── head.ejs │ │ └── nav.ejs └── 9 MVC │ ├── app.js │ ├── controllers │ ├── errorController.js │ ├── hostController.js │ └── storeController.js │ ├── data │ └── homes.json │ ├── models │ └── Home.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── public │ ├── images │ │ ├── house1.png │ │ ├── house2.png │ │ ├── house3.png │ │ ├── house4.png │ │ ├── house5.png │ │ ├── house6.png │ │ ├── house7.png │ │ └── house8.png │ └── styles │ │ ├── input.css │ │ └── output.css │ ├── routers │ ├── hostRouter.js │ └── storeRouter.js │ ├── tailwind.config.js │ ├── util │ └── path-util.js │ └── views │ ├── 404.ejs │ ├── add-home.ejs │ ├── home-added.ejs │ ├── index.ejs │ └── partials │ ├── head.ejs │ └── nav.ejs ├── 6 MERN Projects ├── 1 Todo App │ ├── Backend │ │ ├── .azure │ │ │ └── config │ │ ├── .env.example │ │ ├── app.js │ │ ├── controllers │ │ │ ├── errorController.js │ │ │ └── itemsController.js │ │ ├── model │ │ │ └── TodoItem.js │ │ ├── package-lock.json │ │ ├── package.json │ │ └── routers │ │ │ └── itemsRouter.js │ └── Frontend │ │ ├── .gitignore │ │ ├── README.md │ │ ├── eslint.config.js │ │ ├── index.html │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── postcss.config.js │ │ ├── src │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── AddTodo.jsx │ │ │ ├── AppName.jsx │ │ │ ├── Button.jsx │ │ │ ├── LoadItems.jsx │ │ │ ├── TodoItem.jsx │ │ │ └── TodoItems.jsx │ │ ├── index.css │ │ ├── main.jsx │ │ ├── store │ │ │ ├── TodoItemsContext.jsx │ │ │ └── TodoItemsReducer.js │ │ └── utils │ │ │ └── ModelUtil.js │ │ ├── tailwind.config.js │ │ └── vite.config.js ├── 2 Currency Exchange │ ├── backend │ │ ├── .azure │ │ │ └── config │ │ ├── .env.example │ │ ├── .gitignore │ │ ├── README.md │ │ ├── app.js │ │ ├── controllers │ │ │ ├── errorController.js │ │ │ └── exchangeController.js │ │ ├── nodemon.json │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── routers │ │ │ └── exchangeRouter.js │ │ ├── services │ │ │ └── exchangeRateService.js │ │ └── tailwind.config.js │ └── frontend │ │ ├── .github │ │ └── workflows │ │ │ └── azure-static-web-apps-orange-plant-0b1151410.yml │ │ ├── .gitignore │ │ ├── README.md │ │ ├── eslint.config.js │ │ ├── index.html │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── postcss.config.js │ │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ ├── AmountInput.jsx │ │ │ ├── ConversionResult.jsx │ │ │ ├── CurrencyConverter.jsx │ │ │ └── CurrencySelect.jsx │ │ ├── index.css │ │ ├── main.jsx │ │ └── utils │ │ │ └── currencies.js │ │ ├── tailwind.config.js │ │ └── vite.config.js ├── 3 Full Stack Blog │ ├── backend │ │ ├── .azure │ │ │ └── config │ │ ├── .env.example │ │ ├── .gitignore │ │ ├── README.md │ │ ├── app.js │ │ ├── controllers │ │ │ ├── blogController.js │ │ │ └── errorController.js │ │ ├── models │ │ │ └── Blog.js │ │ ├── nodemon.json │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── routers │ │ │ └── blogRouter.js │ │ └── tailwind.config.js │ └── frontend │ │ ├── .github │ │ └── workflows │ │ │ └── azure-static-web-apps-orange-plant-0b1151410.yml │ │ ├── .gitignore │ │ ├── README.md │ │ ├── eslint.config.js │ │ ├── index.html │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── postcss.config.js │ │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ ├── Blog.jsx │ │ │ ├── BlogList.jsx │ │ │ ├── BlogLoader.jsx │ │ │ ├── CommentForm.jsx │ │ │ ├── CreateBlog.jsx │ │ │ ├── Home.jsx │ │ │ └── NavBar.jsx │ │ ├── index.css │ │ ├── main.jsx │ │ ├── store │ │ │ ├── BlogContext.jsx │ │ │ └── BlogReducer.js │ │ └── utils │ │ │ └── dateUtil.js │ │ ├── tailwind.config.js │ │ └── vite.config.js ├── 4 Gemini Content Generator │ ├── backend │ │ ├── .azure │ │ │ └── config │ │ ├── .env.example │ │ ├── .gitignore │ │ ├── README.md │ │ ├── app.js │ │ ├── controllers │ │ │ ├── conversationController.js │ │ │ └── errorController.js │ │ ├── models │ │ │ └── Conversation.js │ │ ├── nodemon.json │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── routers │ │ │ └── conversationRouter.js │ │ ├── service │ │ │ └── geminiService.js │ │ └── tailwind.config.js │ └── frontend │ │ ├── .github │ │ └── workflows │ │ │ └── azure-static-web-apps-orange-plant-0b1151410.yml │ │ ├── .gitignore │ │ ├── README.md │ │ ├── eslint.config.js │ │ ├── index.html │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── postcss.config.js │ │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ ├── Chat.jsx │ │ │ └── Sidebar.jsx │ │ ├── index.css │ │ ├── layout │ │ │ └── ChatLayout.jsx │ │ ├── main.jsx │ │ ├── store │ │ │ └── ChatContext.jsx │ │ └── util │ │ │ └── timeUtil.js │ │ ├── tailwind.config.js │ │ └── vite.config.js ├── 5 ChatGPT ChatBot │ ├── backend │ │ ├── .azure │ │ │ └── config │ │ ├── .env.example │ │ ├── .gitignore │ │ ├── README.md │ │ ├── app.js │ │ ├── controllers │ │ │ ├── conversationController.js │ │ │ └── errorController.js │ │ ├── models │ │ │ └── Conversation.js │ │ ├── nodemon.json │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── routers │ │ │ └── conversationRouter.js │ │ ├── service │ │ │ └── chatgptService.js │ │ └── tailwind.config.js │ └── frontend │ │ ├── .github │ │ └── workflows │ │ │ └── azure-static-web-apps-orange-plant-0b1151410.yml │ │ ├── .gitignore │ │ ├── README.md │ │ ├── eslint.config.js │ │ ├── index.html │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── postcss.config.js │ │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ ├── Chat.jsx │ │ │ └── MessageList.jsx │ │ ├── index.css │ │ └── main.jsx │ │ ├── tailwind.config.js │ │ └── vite.config.js └── 6 Complete Bazaar │ ├── backend │ ├── .env.example │ ├── .gitignore │ ├── README.md │ ├── app.js │ ├── controllers │ │ ├── authController.js │ │ ├── customerController.js │ │ ├── errorController.js │ │ ├── sellerController.js │ │ └── validations.js │ ├── middleware │ │ └── auth.js │ ├── models │ │ ├── Order.js │ │ ├── Product.js │ │ └── User.js │ ├── nodemon.json │ ├── package-lock.json │ ├── package.json │ ├── routers │ │ ├── authRouter.js │ │ ├── customerRouter.js │ │ └── sellerRouter.js │ ├── uploads │ │ ├── 4spiwm-solimo.png │ │ ├── eog5vj-iphone.png │ │ └── ephdaq-anarkali.png │ └── utils │ │ └── file-util.js │ └── frontend │ ├── .github │ └── workflows │ │ └── azure-static-web-apps-orange-plant-0b1151410.yml │ ├── .gitignore │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── src │ ├── App.jsx │ ├── components │ │ ├── auth │ │ │ ├── Login.jsx │ │ │ └── Signup.jsx │ │ ├── common │ │ │ └── ErrorMessages.jsx │ │ ├── customer │ │ │ ├── CustomerHome.jsx │ │ │ ├── CustomerProduct.jsx │ │ │ ├── Order.jsx │ │ │ ├── Orders.jsx │ │ │ └── cart │ │ │ │ ├── Cart.jsx │ │ │ │ ├── CartItems.jsx │ │ │ │ ├── CartProduct.jsx │ │ │ │ └── CartSummary.jsx │ │ └── seller │ │ │ ├── AddProduct.jsx │ │ │ ├── SellerHome.jsx │ │ │ └── SellerProduct.jsx │ ├── index.css │ ├── main.jsx │ ├── nav │ │ └── NavBar.jsx │ └── store │ │ ├── index.js │ │ └── slices │ │ ├── authSlice.js │ │ ├── customerSlice.js │ │ └── sellerSlice.js │ ├── tailwind.config.js │ └── vite.config.js ├── README.md ├── buy.txt └── kgcoding.txt /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "liveServer.settings.port": 5501 3 | } -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Login And Register web page/README.md: -------------------------------------------------------------------------------- 1 | # Login-Register--HTML-CSS-JS- 2 | This repository created for only practice purposes only. 3 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Login And Register web page/background-img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Login And Register web page/background-img.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/aplay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/aplay.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/gplay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/gplay.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/image.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img10.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img11.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img12.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img13.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img14.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img15.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img16.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img17.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img18.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img19.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img2.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img20.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img21.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img22.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img3.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img4.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img5.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img6.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img7.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img8.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/img9.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/original_return.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/Men/original_return.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/banner.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/1.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/10.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/2.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/3.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/4.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/5.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/6.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/7.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/8.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/categories/9.jpg -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/myntra_logo.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/myntra_logo.webp -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/1.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/10.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/11.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/12.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/2.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/3.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/4.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/5.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/6.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/7.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/8.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Myntra clone/images/offers/9.png -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/1 HTML & CSS/Test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

My First Heading

6 | 7 |

My first paragraph.

8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/Handling Events/handling-events/src/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/Handling Events/handling-events/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/Handling Events/handling-events/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{html,js,jsx}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/Handling Events/handling-events/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/conditional-rendering/src/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/conditional-rendering/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/conditional-rendering/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{html,js,jsx}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/conditional-rendering/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api-v2/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api-v2/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api-v2/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api-v2/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,ts,jsx,tsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | 13 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api-v2/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api/src/store/ThemeContext.jsx: -------------------------------------------------------------------------------- 1 | 2 | import { createContext } from 'react'; 3 | 4 | const ThemeContext = createContext() 5 | 6 | export default ThemeContext; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,ts,jsx,tsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | 13 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/context-api/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/css-modules/src/App.jsx: -------------------------------------------------------------------------------- 1 | 2 | import styles from "./App.module.css"; 3 | 4 | let App = () =>{ 5 | 6 | return (<> 7 |

Subham

8 | ); 9 | } 10 | 11 | export default App; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/css-modules/src/App.module.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | .heading{ 4 | 5 | 6 | color: brown; 7 | } -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/css-modules/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 |

Hello,

10 | 11 |
, 12 | ) 13 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/css-modules/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/passing-components/src/components/Container.jsx: -------------------------------------------------------------------------------- 1 | 2 | 3 | let Container = (props) =>{ 4 | 5 | return (<> 6 | 7 |
8 | {props.children} 9 |
10 | ) 11 | } 12 | 13 | 14 | export default Container; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/passing-components/src/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/passing-components/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/passing-components/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{html,js,jsx}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/passing-components/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/passing-functions-via-props/src/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/passing-functions-via-props/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/passing-functions-via-props/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{html,js,jsx}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/passing-functions-via-props/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/state-management/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/state-management/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/React Moderate/state-management/src/App.jsx -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/state-management/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/state-management/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/state-management/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,jsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | 13 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/state-management/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef copy/index.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | body{ 4 | 5 | display: flex; 6 | justify-content: center; 7 | flex-direction: row; 8 | padding: 5px; 9 | } -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef copy/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef copy/src/components/Heading.jsx: -------------------------------------------------------------------------------- 1 | 2 | 3 | const Heading = () =>{ 4 | 5 | return (<> 6 | 7 |

Todo App

) 8 | } 9 | 10 | export default Heading; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef copy/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef copy/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef copy/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,jsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | 13 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef copy/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef/index.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | body{ 4 | 5 | display: flex; 6 | justify-content: center; 7 | flex-direction: row; 8 | padding: 5px; 9 | } -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef/src/components/Heading.jsx: -------------------------------------------------------------------------------- 1 | 2 | 3 | const Heading = () =>{ 4 | 5 | return (<> 6 | 7 |

Todo App

) 8 | } 9 | 10 | export default Heading; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef/src/data/Data.jsx: -------------------------------------------------------------------------------- 1 | const Data = [ 2 | { id: 1,name: "Buy Milk", date: "22/08/2024" }, 3 | { id: 2,name: "Goto College", date: "22/08/2024" }, 4 | { id: 3,name: "Like this video", date: "22/08/2024" }, 5 | { id: 4,name: "Subscribe the channel", date: "22/08/2024" }, 6 | ]; 7 | 8 | export default Data; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,jsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | 13 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/to-do-app-using-useState-useRef/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/use-VS-ref-state-management/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/use-VS-ref-state-management/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/use-VS-ref-state-management/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | 10 | ) 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/use-VS-ref-state-management/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,ts,jsx,tsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | 13 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React Moderate/use-VS-ref-state-management/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React/5-app/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{html,js,jsx}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/React/5-app/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Hello world 7 | 8 | 9 |

Subham Chakraborty

10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/0_Subham Chakraborty/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/0_Subham Chakraborty/readme.md -------------------------------------------------------------------------------- /007 Student Contributions/Abhijeet Rauthan/abhi.txt: -------------------------------------------------------------------------------- 1 | Hi, My name is Abhijeet. -------------------------------------------------------------------------------- /007 Student Contributions/Abhyas/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

Learning Git

10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Adiba Banu/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contribution to MERN_Live 5 | 6 | 7 |

This is Adiba's contribution

8 | 9 | -------------------------------------------------------------------------------- /007 Student Contributions/Aditya/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/Aditya/index.html -------------------------------------------------------------------------------- /007 Student Contributions/Aditya/index.txt: -------------------------------------------------------------------------------- 1 | this is my dummy code 2 | and we all are learning mern course 3 | and we are learning git github 4 | this is my passion to learn git -------------------------------------------------------------------------------- /007 Student Contributions/Alok/index.js: -------------------------------------------------------------------------------- 1 | console.log("Hi Alok here !!") -------------------------------------------------------------------------------- /007 Student Contributions/Aman-kathait/first.txt: -------------------------------------------------------------------------------- 1 | Aman Kathait -------------------------------------------------------------------------------- /007 Student Contributions/Ashok pal/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ashokpal 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /007 Student Contributions/Atul Ranjan/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Atul 5 | 6 | 7 |

This is Atul's Contribution

8 |

This file is being created just to show that a public person can make a contribution through pull request

9 | 10 | -------------------------------------------------------------------------------- /007 Student Contributions/Chandan Gupta/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Chandan Gupta 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Chhavi/testing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

Learning Git :)

10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Debjit Ghosh/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Debjit Ghosh 7 | 8 | 9 | 10 |

Hello World!

11 | 12 | -------------------------------------------------------------------------------- /007 Student Contributions/Deepa/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Deepa 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Deepak/index.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Deepak Contribution 7 | 8 | 9 | Hello There! 10 | 11 | 12 | -------------------------------------------------------------------------------- /007 Student Contributions/Deepti/temp.txt: -------------------------------------------------------------------------------- 1 | "Inside deepti_branch" -------------------------------------------------------------------------------- /007 Student Contributions/Faisal Hayyat/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Learning GitHub 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /007 Student Contributions/Gurpeet_singh/temp.txt: -------------------------------------------------------------------------------- 1 | This is dummy file for testing. -------------------------------------------------------------------------------- /007 Student Contributions/Ish/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ish contrubution 7 |
i am learning git and github
8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /007 Student Contributions/JAI GOYAL/jai.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/JAI GOYAL/jai.txt -------------------------------------------------------------------------------- /007 Student Contributions/Kanav Dawar/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Kanav giving Pull Request 5 | 6 | 7 |

Trying sending pull Request from Kanav Dawar

8 | 9 | 10 | -------------------------------------------------------------------------------- /007 Student Contributions/Laksh-Lukhi/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | GitHub 7 | 8 | 9 | Hello World in GitHub 10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Mahato/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | KG Coding By Prashant Sir 7 | 8 | 9 |

Hello Japan

10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Manjeet/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Manjeet Git Contribution 7 | 8 | 9 | Hello There! 10 | 11 | 12 | -------------------------------------------------------------------------------- /007 Student Contributions/Mitesh/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

this is my contribution

10 | 11 | 12 | -------------------------------------------------------------------------------- /007 Student Contributions/Mohit_bari/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | mohittest 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Mohit_bari/index2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/Mohit_bari/index2.html -------------------------------------------------------------------------------- /007 Student Contributions/Nidhi Uniyal/index.html: -------------------------------------------------------------------------------- 1 |

Hey!!It's Nidhi here...

2 |

Lorem ipsum dolor, sit amet consectetur adipisicing elit. Doloremque, explicabo? 3 |

-------------------------------------------------------------------------------- /007 Student Contributions/Niraj/index.css: -------------------------------------------------------------------------------- 1 | /* Hello you are in NiraJ's folder */ -------------------------------------------------------------------------------- /007 Student Contributions/NirajKumar/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | KGCoding 5 | 6 | 7 |

KGCoding

8 |

9 | This file is being created just to show that a public person can make a contributin through pull request. 10 |

11 | 12 | 13 | -------------------------------------------------------------------------------- /007 Student Contributions/Niranjan/Index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

Hello ,Learning git Stash command

10 | 11 | 12 | -------------------------------------------------------------------------------- /007 Student Contributions/Preet_Chauhan/React Projects/21-TodoApp-Context-api-useReducer-Backend/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /007 Student Contributions/Preet_Chauhan/React Projects/21-TodoApp-Context-api-useReducer-Backend/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /007 Student Contributions/Preet_Chauhan/React Projects/21-TodoApp-Context-api-useReducer-Backend/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { createRoot } from 'react-dom/client' 2 | import App from './App.jsx' 3 | import './index.css' 4 | 5 | createRoot(document.getElementById('root')).render( 6 | 7 | 8 | , 9 | ) 10 | -------------------------------------------------------------------------------- /007 Student Contributions/Preet_Chauhan/React Projects/21-TodoApp-Context-api-useReducer-Backend/src/utils/ModelUtils.jsx: -------------------------------------------------------------------------------- 1 | const todoItemClientModel = (serverItems) => { 2 | return { 3 | id: serverItems.id, 4 | todoText: serverItems.task, 5 | todoDate: serverItems.date, 6 | } 7 | } 8 | export default todoItemClientModel; -------------------------------------------------------------------------------- /007 Student Contributions/Preet_Chauhan/React Projects/21-TodoApp-Context-api-useReducer-Backend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,ts,jsx,tsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | 13 | -------------------------------------------------------------------------------- /007 Student Contributions/Preet_Chauhan/React Projects/21-TodoApp-Context-api-useReducer-Backend/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /007 Student Contributions/Prince/prince.txt: -------------------------------------------------------------------------------- 1 | this file is created by prince maurya -------------------------------------------------------------------------------- /007 Student Contributions/Priyank-aswal/priyank.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

My Contribution

10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Priyank/priyank.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/Priyank/priyank.txt -------------------------------------------------------------------------------- /007 Student Contributions/Rahul Dev/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Rahul 7 | 8 | 9 |

Hello! This file is created by Rahul Dev Barman on 13th Sept.

10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Rohit/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/Rohit/index.html -------------------------------------------------------------------------------- /007 Student Contributions/Sachin Burujpatte/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | My Contribution 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Shruti Aher/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Introduction 7 | 8 | 9 | Hi, this is Shruti Aher 10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Simson/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

Lorem ipsum odor amet, consectetuer adipiscing elit.

10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/Yousuf/test.txt: -------------------------------------------------------------------------------- 1 | Test 2 | -------------------------------------------------------------------------------- /007 Student Contributions/kanchan/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | kanchan 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/mkashif/temp.txt: -------------------------------------------------------------------------------- 1 | this is mkashif text file -------------------------------------------------------------------------------- /007 Student Contributions/moin-tak/md-tak.txt: -------------------------------------------------------------------------------- 1 | hi learning git with complete coding 2 | hi main commit -------------------------------------------------------------------------------- /007 Student Contributions/nafees/temp.txt: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /007 Student Contributions/noman_khan/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

noman khan

10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/ridoyDey/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/ridoyDey/public/favicon.ico -------------------------------------------------------------------------------- /007 Student Contributions/ridoyDey/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/ridoyDey/public/logo192.png -------------------------------------------------------------------------------- /007 Student Contributions/ridoyDey/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/007 Student Contributions/ridoyDey/public/logo512.png -------------------------------------------------------------------------------- /007 Student Contributions/ridoyDey/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /007 Student Contributions/ridoyDey/src/components/AppName.tsx: -------------------------------------------------------------------------------- 1 | import React from "react" 2 | 3 | const AppName: React.FC = (): JSX.Element =>{ 4 | return ( 5 |
6 |

Taskbook

7 |
8 | ); 9 | } 10 | 11 | export default AppName; -------------------------------------------------------------------------------- /007 Student Contributions/ridoyDey/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |
10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/ridoyDey/src/models.ts: -------------------------------------------------------------------------------- 1 | export interface Todo{ 2 | id: number; 3 | todo: string; 4 | isDone: boolean; 5 | } -------------------------------------------------------------------------------- /007 Student Contributions/ridoyDey/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /007 Student Contributions/rishi/rishi_git.txt: -------------------------------------------------------------------------------- 1 | git file. -------------------------------------------------------------------------------- /007 Student Contributions/shubham_Bhavsar/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Demo 7 | 8 | 9 |

Wlecome to my code

10 | 11 | -------------------------------------------------------------------------------- /007 Student Contributions/temp2.txt: -------------------------------------------------------------------------------- 1 | i can be in main branch & ridoy-branch -------------------------------------------------------------------------------- /1 HTML and CSS/1 template/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | KGCoding 5 | 6 | 7 |

Hello World

8 | 9 | -------------------------------------------------------------------------------- /1 HTML and CSS/11 Display/float.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Learning Float 5 | 6 | 7 | 8 |
9 |
1
10 |
2
11 |
12 | 13 | -------------------------------------------------------------------------------- /1 HTML and CSS/13 Selectors/styles/attribute-selector.css: -------------------------------------------------------------------------------- 1 | .my-input { 2 | 3 | } 4 | 5 | .username { 6 | 7 | } 8 | 9 | .password { 10 | 11 | } 12 | 13 | [placeholder="Username"] { 14 | margin: 10px; 15 | } 16 | 17 | [placeholder] { 18 | background-color: lightcoral; 19 | } -------------------------------------------------------------------------------- /1 HTML and CSS/3 HTML Tags/br and hr.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | BR Tag 5 | 6 | 7 |

Lorem ipsum dolor sit amet consectetur adipisicing elit. 8 |

9 | Neque, laboriosam tempore alias atque veniam iste est sequi.


Facilis soluta accusantium voluptatum.

10 | 11 | -------------------------------------------------------------------------------- /1 HTML and CSS/3 HTML Tags/images/html icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/1 HTML and CSS/3 HTML Tags/images/html icon.png -------------------------------------------------------------------------------- /1 HTML and CSS/3 HTML Tags/video.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Video 5 | 6 | 7 | 13 | 14 | -------------------------------------------------------------------------------- /1 HTML and CSS/3 HTML Tags/videos/LeetCode 231 Power of Two.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/1 HTML and CSS/3 HTML Tags/videos/LeetCode 231 Power of Two.mp4 -------------------------------------------------------------------------------- /1 HTML and CSS/4 CSS Basics/group.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Group Selector 5 | 6 | 7 | 8 |

Heading

9 |

para 1

10 |

para 2

11 |

para 3

12 | 13 | -------------------------------------------------------------------------------- /1 HTML and CSS/4 CSS Basics/styles/group.css: -------------------------------------------------------------------------------- 1 | h1, #par2 { 2 | color: green; 3 | } -------------------------------------------------------------------------------- /1 HTML and CSS/4 CSS Basics/styles/practice.css: -------------------------------------------------------------------------------- 1 | .top_heading { 2 | color: red; 3 | } 4 | 5 | /* This is not the class for top heading*/ 6 | #heading { 7 | color: blue; 8 | } 9 | 10 | #new_div { 11 | color: aquamarine; 12 | } 13 | p { 14 | color: tomato; 15 | } 16 | .small_heading { 17 | color: slateblue; 18 | } 19 | 20 | #parrot, #cow { 21 | color: cadetblue; 22 | } -------------------------------------------------------------------------------- /1 HTML and CSS/4 CSS Basics/styles/selector.css: -------------------------------------------------------------------------------- 1 | p { 2 | color: green; 3 | } 4 | 5 | #para3 { 6 | color: red; 7 | } 8 | 9 | .article { 10 | color: black; 11 | } 12 | 13 | .code { 14 | color: grey; 15 | font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; 16 | } -------------------------------------------------------------------------------- /1 HTML and CSS/4 CSS Basics/styles/style.css: -------------------------------------------------------------------------------- 1 | * { 2 | font-family: 'Courier New', Courier, monospace; 3 | font-size: 25px; 4 | } 5 | 6 | h1 { 7 | /*font-size: 35px;*/ 8 | color: blue; 9 | } 10 | /* I will change this color later */ 11 | p { 12 | color: red; 13 | } 14 | h2 { 15 | color: darkolivegreen; 16 | } -------------------------------------------------------------------------------- /1 HTML and CSS/6 More CSS/images/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/1 HTML and CSS/6 More CSS/images/html.png -------------------------------------------------------------------------------- /1 HTML and CSS/6 More CSS/styles/practise.css: -------------------------------------------------------------------------------- 1 | /*this is a comment*/ 2 | .my-div { 3 | background-color: rgba(134, 203, 190, 0.5); 4 | color: #aa7800; 5 | } 6 | 7 | .image-container { 8 | height: 150px; 9 | width: 150px; 10 | background: #ff0000 url(../images/html.png) no-repeat; 11 | background-size: contain; 12 | } -------------------------------------------------------------------------------- /1 HTML and CSS/8 List Tables and Forms/styles/list.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/1 HTML and CSS/8 List Tables and Forms/styles/list.css -------------------------------------------------------------------------------- /2 JavaScript/1 Trying Node/first.js: -------------------------------------------------------------------------------- 1 | console.log(4+5); 2 | console.log('Our first JS Code'); -------------------------------------------------------------------------------- /2 JavaScript/10 Destructuring Spread Rest/rest.js: -------------------------------------------------------------------------------- 1 | let even = [2, 4, 6, 8, 10]; 2 | // let first = even[0]; 3 | // let second = even[1]; 4 | 5 | let [first, second, ...bachGaye] = even; 6 | console.log('first', first); 7 | console.log('second', second); 8 | console.log('bachGaye', bachGaye); -------------------------------------------------------------------------------- /2 JavaScript/11 Callbacks Arrow Functions/anonymous.js: -------------------------------------------------------------------------------- 1 | let myFunction = function() { 2 | console.log('I am an anonymous function'); 3 | } 4 | 5 | myFunction(); 6 | 7 | setTimeout(function() { 8 | console.log('I am an anonymous function'); 9 | }, 3000); -------------------------------------------------------------------------------- /2 JavaScript/14 Event Handling/bubbling.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Event Bubbling 5 | 6 | 7 | 8 |
9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /2 JavaScript/14 Event Handling/event.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Event Handling 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /2 JavaScript/18 Error Handling/throwing.js: -------------------------------------------------------------------------------- 1 | 2 | function divide(a, b) { 3 | if (b === 0) { 4 | throw new Error('Divide by zero'); 5 | } 6 | return a / b; 7 | } 8 | 9 | console.log(divide(6, 3)); 10 | try { 11 | console.log(divide(3, 0)); 12 | } catch (error) { 13 | console.log('Error occured'); 14 | console.log(error.message); 15 | } 16 | console.log(divide(3, 6)); -------------------------------------------------------------------------------- /2 JavaScript/19 Promise/fetch.js: -------------------------------------------------------------------------------- 1 | console.log("fetch.js"); 2 | fetch('https://jsonplaceholder.typicode.com/users') 3 | .then(response => response.json()) 4 | // .then(function(response) { 5 | // return response.json(); 6 | // }) 7 | .then(json => console.log(json)) 8 | .catch(error => console.log(error)); -------------------------------------------------------------------------------- /2 JavaScript/21 Import Export/calculator.js: -------------------------------------------------------------------------------- 1 | import {add, subtract, multiply, divide} from './math.js'; 2 | //import * as math from './math.js'; 3 | let a = 10; 4 | let b = 20; 5 | 6 | let sum = math.add(a, b); 7 | let difference = math.subtract(a, b); 8 | let product = math.multiply(a, b); 9 | let quotient = math.divide(a, b); -------------------------------------------------------------------------------- /2 JavaScript/21 Import Export/math.js: -------------------------------------------------------------------------------- 1 | export function add(a, b) { 2 | return a + b; 3 | } 4 | 5 | export function subtract(a, b) { 6 | return a - b; 7 | } 8 | 9 | export function multiply(a, b) { 10 | return a * b; 11 | } 12 | 13 | export function divide(a, b) { 14 | return a / b; 15 | } 16 | -------------------------------------------------------------------------------- /2 JavaScript/3 Decision Control/including.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Including JavaScript 5 | 6 | 7 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /2 JavaScript/3 Decision Control/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Decision Control 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /2 JavaScript/3 Decision Control/nested-if.js: -------------------------------------------------------------------------------- 1 | let num = 45; 2 | 3 | if (num > 0) { 4 | if (num % 2 === 0) { 5 | console.log("Positive and Even number"); 6 | } else { 7 | console.log("Positive and Odd number"); 8 | } 9 | } else if (num < 0) { 10 | console.log("Negative number"); 11 | } else { 12 | console.log("Number is Zero"); 13 | } 14 | -------------------------------------------------------------------------------- /2 JavaScript/4 Functions/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Learning Functions 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /2 JavaScript/4 Functions/scripts/call-by-value.js: -------------------------------------------------------------------------------- 1 | function sum(num1, num2) { 2 | num1 += num2; 3 | return num1; 4 | } 5 | 6 | let x = 10, y = 5; 7 | console.log(`x: ${x}, y: ${y}`); 8 | console.log(sum(x, y)); 9 | console.log(`x: ${x}, y: ${y}`); -------------------------------------------------------------------------------- /2 JavaScript/5 Loops/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Learning Loop 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /2 JavaScript/5 Loops/scripts/loop.js: -------------------------------------------------------------------------------- 1 | // console.log(1); 2 | // console.log(2); 3 | // console.log(3); 4 | // console.log(4); 5 | // console.log(5); 6 | 7 | console.log('Starting Loop'); 8 | let num = 1; // initialization 9 | while (num <= 50) { // condition 10 | console.log(num); 11 | num++; // update 12 | } 13 | console.log('Ending Loop'); -------------------------------------------------------------------------------- /2 JavaScript/6 Types Coercion/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Type Coercion 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /2 JavaScript/6 Types Coercion/script.js: -------------------------------------------------------------------------------- 1 | console.log('Hi' + 44); 2 | console.log('66' - 44); 3 | console.log(true == 2); -------------------------------------------------------------------------------- /2 JavaScript/7 Objects/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <Object></Object> 5 | 6 | 7 |

8 | 9 | 10 | -------------------------------------------------------------------------------- /2 JavaScript/Practise exercise/loop.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Loop Practise Exercise 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /2 JavaScript/Practise exercise/script/loop2.js: -------------------------------------------------------------------------------- 1 | // for (let i = 0; i < 50; i++) { 2 | // if (i % 2 === 0) { 3 | // continue; 4 | // } 5 | // if (i % 18 === 0) { 6 | // break; 7 | // } 8 | // console.log(i); 9 | // } 10 | 11 | let num = 1; 12 | while (num < 10) { 13 | console.log(num); 14 | num++; 15 | } 16 | console.log("End of the loop"); -------------------------------------------------------------------------------- /2 JavaScript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | JS 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /3 React/1-first-react-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/1-first-react-app/public/favicon.ico -------------------------------------------------------------------------------- /3 React/1-first-react-app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/1-first-react-app/public/logo192.png -------------------------------------------------------------------------------- /3 React/1-first-react-app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/1-first-react-app/public/logo512.png -------------------------------------------------------------------------------- /3 React/1-first-react-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /3 React/1-first-react-app/src/App.test.js: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import App from './App'; 3 | 4 | test('renders learn react link', () => { 5 | render(); 6 | const linkElement = screen.getByText(/learn react/i); 7 | expect(linkElement).toBeInTheDocument(); 8 | }); 9 | -------------------------------------------------------------------------------- /3 React/1-first-react-app/src/setupTests.js: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /3 React/10-css-modules/src/App.module.css: -------------------------------------------------------------------------------- 1 | .heading { 2 | color: red; 3 | } 4 | 5 | .para { 6 | background-color: aqua; 7 | } -------------------------------------------------------------------------------- /3 React/10-css-modules/src/Container.jsx: -------------------------------------------------------------------------------- 1 | import css from './Container.module.css'; 2 | 3 | const Container = (props) => { 4 | return
5 | {props.children} 6 |
7 | } 8 | 9 | export default Container; -------------------------------------------------------------------------------- /3 React/10-css-modules/src/Container.module.css: -------------------------------------------------------------------------------- 1 | .container { 2 | background-color: #c7c7c7; 3 | margin: 40px; 4 | padding: 10px; 5 | border: solid black 2px; 6 | border-radius: 5px; 7 | } -------------------------------------------------------------------------------- /3 React/10-css-modules/src/Temp.jsx: -------------------------------------------------------------------------------- 1 | import css from './Temp.module.css' -------------------------------------------------------------------------------- /3 React/10-css-modules/src/Temp.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/10-css-modules/src/Temp.module.css -------------------------------------------------------------------------------- /3 React/10-css-modules/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/10-css-modules/src/index.css -------------------------------------------------------------------------------- /3 React/10-css-modules/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 |

This is our app

9 | 10 |
, 11 | ) 12 | -------------------------------------------------------------------------------- /3 React/10-css-modules/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/src/assets/passport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/11-react-tailwind-portfolio/src/assets/passport.png -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/src/components/Graduation.jsx: -------------------------------------------------------------------------------- 1 | const Graduation = ({title, school, year}) => { 2 | return <> 3 |

{title}

4 |

5 | {school}, {year} 6 |

7 | 8 | } 9 | 10 | export default Graduation; -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/src/components/List.jsx: -------------------------------------------------------------------------------- 1 | const List = ({items}) => { 2 | return
    3 | {items.map(item =>
  • {item}
  • )} 4 |
5 | } 6 | 7 | export default List; -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/src/components/Pill.jsx: -------------------------------------------------------------------------------- 1 | const Pill = ({title}) => { 2 | return 3 | {title} 4 | 5 | } 6 | 7 | export default Pill; -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/src/components/Section.jsx: -------------------------------------------------------------------------------- 1 | const Section = ({icon, children, sectionTitle}) => { 2 | return
3 |
4 | {icon} 5 |

{sectionTitle}

6 |
7 | {children} 8 | 9 |
; 10 | } 11 | 12 | export default Section; -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/src/components/SocialMedia.jsx: -------------------------------------------------------------------------------- 1 | const SocialMedia = ({icon, title, url}) => { 2 | return 3 | {icon} 4 | {title} 5 | ; 6 | } 7 | 8 | export default SocialMedia; -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/src/components/project/TechPill.jsx: -------------------------------------------------------------------------------- 1 | const TechPill = ({title}) => { 2 | return 3 | {title} 4 | 5 | } 6 | 7 | export default TechPill; -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,jsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | 13 | -------------------------------------------------------------------------------- /3 React/11-react-tailwind-portfolio/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/12-learing-state/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/12-learing-state/src/index.css -------------------------------------------------------------------------------- /3 React/12-learing-state/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/12-learing-state/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/13-calculator/src/components/Button.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const Button = ({ text, onClickHandler }) => { 4 | return ( 5 | 6 | ) 7 | } 8 | 9 | export default Button -------------------------------------------------------------------------------- /3 React/13-calculator/src/components/Display.jsx: -------------------------------------------------------------------------------- 1 | const Display = ({textToShow}) => { 2 | return <> 3 | {textToShow ?

{textToShow}

:

0

} 4 | 5 | } 6 | 7 | export default Display; -------------------------------------------------------------------------------- /3 React/13-calculator/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/13-calculator/src/index.css -------------------------------------------------------------------------------- /3 React/13-calculator/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/13-calculator/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/14-use-ref/src/App.jsx: -------------------------------------------------------------------------------- 1 | import StateVsRef from "./components/StateVsRef"; 2 | import TestForm from "./components/TestForm"; 3 | 4 | function App() { 5 | return ( 6 |
7 | 8 | 9 |
10 | ); 11 | } 12 | 13 | export default App; 14 | -------------------------------------------------------------------------------- /3 React/14-use-ref/src/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | font-size: 20px; 3 | } 4 | 5 | .button { 6 | min-width: 90px; 7 | } 8 | 9 | .heading { 10 | font-weight: 700; 11 | font-size: 55px; 12 | } 13 | 14 | .kg-row { 15 | margin-bottom: 10px; 16 | text-align: start; 17 | } -------------------------------------------------------------------------------- /3 React/14-use-ref/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/14-use-ref/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/15-todo-app/src/components/AppName.jsx: -------------------------------------------------------------------------------- 1 | const AppName = () => { 2 | return

Todo App

; 3 | } 4 | 5 | export default AppName; -------------------------------------------------------------------------------- /3 React/15-todo-app/src/data/InitialTodoItems.jsx: -------------------------------------------------------------------------------- 1 | const initialTodoItems = [ 2 | { id: 1, todoText: "Buy Milk", todoDate: "4-Sept-2024" }, 3 | { id: 2, todoText: "Go to College", todoDate: "Weekday" }, 4 | { id: 3, todoText: "Exercise", todoDate: "Everyday" }, 5 | ]; 6 | 7 | export default initialTodoItems; -------------------------------------------------------------------------------- /3 React/15-todo-app/src/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | font-size: 20px; 3 | } 4 | 5 | .button { 6 | min-width: 90px; 7 | } 8 | 9 | .heading { 10 | font-weight: 700; 11 | font-size: 55px; 12 | } 13 | 14 | .kg-row { 15 | margin-bottom: 10px; 16 | text-align: start; 17 | } -------------------------------------------------------------------------------- /3 React/15-todo-app/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/15-todo-app/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/16-Context-API/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /3 React/16-Context-API/src/App.jsx: -------------------------------------------------------------------------------- 1 | import Welcome from "./components/Welcome"; 2 | import ThemeToggle from "./components/ThemeToggle"; 3 | import {ThemeProvider} from "./store/ThemeContext"; 4 | 5 | function App() { 6 | 7 | return ( 8 | 9 | 10 | 11 | 12 | ); 13 | } 14 | 15 | export default App; 16 | -------------------------------------------------------------------------------- /3 React/16-Context-API/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /3 React/16-Context-API/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/16-Context-API/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: [ 4 | "./index.html", 5 | "./src/**/*.{js,ts,jsx,tsx}", 6 | ], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | 13 | -------------------------------------------------------------------------------- /3 React/16-Context-API/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/17-todo-app context-api/src/components/AppName.jsx: -------------------------------------------------------------------------------- 1 | const AppName = () => { 2 | return

Todo App

; 3 | } 4 | 5 | export default AppName; -------------------------------------------------------------------------------- /3 React/17-todo-app context-api/src/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | font-size: 20px; 3 | } 4 | 5 | .button { 6 | min-width: 90px; 7 | } 8 | 9 | .heading { 10 | font-weight: 700; 11 | font-size: 55px; 12 | } 13 | 14 | .kg-row { 15 | margin-bottom: 10px; 16 | text-align: start; 17 | } -------------------------------------------------------------------------------- /3 React/17-todo-app context-api/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/17-todo-app context-api/src/store/InitialTodoItems.jsx: -------------------------------------------------------------------------------- 1 | const initialTodoItems = [ 2 | { id: 1, todoText: "Buy Milk", todoDate: "4-Sept-2024" }, 3 | { id: 2, todoText: "Go to College", todoDate: "Weekday" }, 4 | { id: 3, todoText: "Exercise", todoDate: "Everyday" }, 5 | ]; 6 | 7 | export default initialTodoItems; -------------------------------------------------------------------------------- /3 React/17-todo-app context-api/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/18-use-reducer-counter/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/18-use-reducer-counter/src/index.css -------------------------------------------------------------------------------- /3 React/18-use-reducer-counter/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | , 8 | ) 9 | -------------------------------------------------------------------------------- /3 React/18-use-reducer-counter/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/19-todo-app context-api-use-reducer/src/components/AppName.jsx: -------------------------------------------------------------------------------- 1 | const AppName = () => { 2 | return

Todo App

; 3 | } 4 | 5 | export default AppName; -------------------------------------------------------------------------------- /3 React/19-todo-app context-api-use-reducer/src/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | font-size: 20px; 3 | } 4 | 5 | .button { 6 | min-width: 90px; 7 | } 8 | 9 | .heading { 10 | font-weight: 700; 11 | font-size: 55px; 12 | } 13 | 14 | .kg-row { 15 | margin-bottom: 10px; 16 | text-align: start; 17 | } -------------------------------------------------------------------------------- /3 React/19-todo-app context-api-use-reducer/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/19-todo-app context-api-use-reducer/src/store/InitialTodoItems.jsx: -------------------------------------------------------------------------------- 1 | const initialTodoItems = [ 2 | { id: 1, todoText: "Buy Milk", todoDate: "4-Sept-2024" }, 3 | { id: 2, todoText: "Go to College", todoDate: "Weekday" }, 4 | { id: 3, todoText: "Exercise", todoDate: "Everyday" }, 5 | ]; 6 | 7 | export default initialTodoItems; -------------------------------------------------------------------------------- /3 React/19-todo-app context-api-use-reducer/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/2-second-react-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/2-second-react-app/public/favicon.ico -------------------------------------------------------------------------------- /3 React/2-second-react-app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/2-second-react-app/public/logo192.png -------------------------------------------------------------------------------- /3 React/2-second-react-app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/2-second-react-app/public/logo512.png -------------------------------------------------------------------------------- /3 React/2-second-react-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /3 React/2-second-react-app/src/App.test.js: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import App from './App'; 3 | 4 | test('renders learn react link', () => { 5 | render(); 6 | const linkElement = screen.getByText(/learn react/i); 7 | expect(linkElement).toBeInTheDocument(); 8 | }); 9 | -------------------------------------------------------------------------------- /3 React/2-second-react-app/src/setupTests.js: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /3 React/20-todo-app with backend/src/components/AppName.jsx: -------------------------------------------------------------------------------- 1 | const AppName = () => { 2 | return

Todo App

; 3 | } 4 | 5 | export default AppName; -------------------------------------------------------------------------------- /3 React/20-todo-app with backend/src/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | font-size: 20px; 3 | } 4 | 5 | .button { 6 | min-width: 90px; 7 | } 8 | 9 | .heading { 10 | font-weight: 700; 11 | font-size: 55px; 12 | } 13 | 14 | .kg-row { 15 | margin-bottom: 10px; 16 | text-align: start; 17 | } -------------------------------------------------------------------------------- /3 React/20-todo-app with backend/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/20-todo-app with backend/src/utils/ModelUtil.js: -------------------------------------------------------------------------------- 1 | export const todoItemToClientModel = (serverItem) => { 2 | return { 3 | id: serverItem.id, 4 | todoText: serverItem.task, 5 | todoDate: serverItem.date 6 | } 7 | } -------------------------------------------------------------------------------- /3 React/20-todo-app with backend/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/3-vite-project/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/3-vite-project/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/4-first-component/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/4-first-component/src/App.css -------------------------------------------------------------------------------- /3 React/4-first-component/src/components/Heading.css: -------------------------------------------------------------------------------- 1 | .heading { 2 | color: blue; 3 | } -------------------------------------------------------------------------------- /3 React/4-first-component/src/components/Heading.jsx: -------------------------------------------------------------------------------- 1 | import { Component } from "react"; 2 | import './Heading.css'; 3 | 4 | class Heading extends Component { 5 | render() { 6 | return

Class vs Function Component

; 7 | } 8 | } 9 | 10 | export default Heading; -------------------------------------------------------------------------------- /3 React/4-first-component/src/components/RandomNumber.jsx: -------------------------------------------------------------------------------- 1 | const RandomNumber = () => { 2 | const number = Math.random(); 3 | return

{number}

; 4 | } 5 | 6 | export default RandomNumber; -------------------------------------------------------------------------------- /3 React/4-first-component/src/components/StudentList.jsx: -------------------------------------------------------------------------------- 1 | const StudentList = (props) => { 2 | console.log(props.students); 3 | if (!props.students) { 4 | return

No students

; 5 | } 6 | return
    7 | { 8 | props.students.map((student, index) =>
  1. {student}
  2. ) 9 | } 10 |
; 11 | } 12 | 13 | export default StudentList; -------------------------------------------------------------------------------- /3 React/4-first-component/src/components/Title.jsx: -------------------------------------------------------------------------------- 1 | import './Heading.css'; 2 | 3 | const Title = (props) => { 4 | return

{props.titleText}

; 5 | } 6 | 7 | export default Title; -------------------------------------------------------------------------------- /3 React/4-first-component/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/4-first-component/src/index.css -------------------------------------------------------------------------------- /3 React/4-first-component/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/4-first-component/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/5-using-bootstrap/src/App.css: -------------------------------------------------------------------------------- 1 | .kg-btn { 2 | margin: 5px; 3 | } -------------------------------------------------------------------------------- /3 React/5-using-bootstrap/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | 5 | createRoot(document.getElementById('root')).render( 6 | 7 | 8 | , 9 | ) 10 | -------------------------------------------------------------------------------- /3 React/5-using-bootstrap/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/6-todo-ui-bootstrap/src/App.jsx: -------------------------------------------------------------------------------- 1 | import AddTodo from "./components/AddTodo"; 2 | import AppName from "./components/AppName"; 3 | import TodoItems from "./components/TodoItems"; 4 | 5 | function App() { 6 | return ( 7 |
8 | 9 | 10 | 11 |
12 | ); 13 | } 14 | 15 | export default App; 16 | -------------------------------------------------------------------------------- /3 React/6-todo-ui-bootstrap/src/components/AppName.jsx: -------------------------------------------------------------------------------- 1 | const AppName = () => { 2 | return

Todo App

; 3 | } 4 | 5 | export default AppName; -------------------------------------------------------------------------------- /3 React/6-todo-ui-bootstrap/src/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | font-size: 20px; 3 | } 4 | 5 | .button { 6 | min-width: 90px; 7 | } 8 | 9 | .heading { 10 | font-weight: 700; 11 | font-size: 55px; 12 | } 13 | 14 | .kg-row { 15 | margin-bottom: 10px; 16 | text-align: start; 17 | } -------------------------------------------------------------------------------- /3 React/6-todo-ui-bootstrap/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/6-todo-ui-bootstrap/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/7-using-bootstrap/src/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | } 6 | 7 | .text-green { 8 | color: green; 9 | } 10 | 11 | .my-text { 12 | color: red; 13 | } -------------------------------------------------------------------------------- /3 React/7-using-bootstrap/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/7-using-bootstrap/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/8-lucide-icons/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/8-lucide-icons/src/index.css -------------------------------------------------------------------------------- /3 React/8-lucide-icons/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/8-lucide-icons/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /3 React/9-learning-map/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/3 React/9-learning-map/src/index.css -------------------------------------------------------------------------------- /3 React/9-learning-map/src/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /3 React/9-learning-map/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /3 React/9-learning-map/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{html,js,jsx}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /3 React/9-learning-map/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /4 Tailwind/1 First/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

10 | Hello to this country 11 |

12 | 13 | -------------------------------------------------------------------------------- /4 Tailwind/2 Second/src/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /4 Tailwind/2 Second/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ['*.html'], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/1 First Sample Server/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Document 5 | 6 | 7 |

Welcome to First Server

8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render('404', {pageTitle: 'Page Not Found'}); 4 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/data/favourite.json: -------------------------------------------------------------------------------- 1 | ["2","1"] -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/10 Dynamic Path/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/views/host/home-added.ejs: -------------------------------------------------------------------------------- 1 | <%- include('../partials/head') %> 2 | 3 | 4 | <%- include('../partials/nav') %> 5 |

Home Added Successfully

6 | 7 | 8 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/views/partials/add-to-favourite.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
-------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/10 Dynamic Path/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render('404', {pageTitle: 'Page Not Found'}); 4 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/data/favourite.json: -------------------------------------------------------------------------------- 1 | ["2","1"] -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/11 mysql/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/11 mysql/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/11 mysql/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/11 mysql/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/11 mysql/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/11 mysql/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/11 mysql/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/11 mysql/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/util/database-util.js: -------------------------------------------------------------------------------- 1 | const mysql = require('mysql2'); 2 | 3 | const pool = mysql.createPool({ 4 | host: 'localhost', 5 | user: 'root', 6 | password: 'Completecoding@01', 7 | database: 'airbnb' 8 | }); 9 | 10 | module.exports = pool.promise(); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/views/host/home-added.ejs: -------------------------------------------------------------------------------- 1 | <%- include('../partials/head') %> 2 | 3 | 4 | <%- include('../partials/nav') %> 5 |

Home Added Successfully

6 | 7 | 8 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/views/partials/add-to-favourite.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
-------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/11 mysql/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render('404', {pageTitle: 'Page Not Found'}); 4 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/12 mongodb/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/12 mongodb/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/12 mongodb/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/12 mongodb/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/12 mongodb/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/12 mongodb/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/12 mongodb/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/12 mongodb/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/views/partials/add-to-favourite.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 6 |
7 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/12 mongodb/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render('404', {pageTitle: 'Page Not Found'}); 4 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/models/Favourite.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | 3 | const favouriteSchema = new mongoose.Schema({ 4 | homeId : { 5 | type: mongoose.Schema.Types.ObjectId, 6 | ref: 'Home', 7 | required: true, 8 | unique: true, 9 | }, 10 | }); 11 | 12 | module.exports = mongoose.model("Favourite", favouriteSchema); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/13 mongoose/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/13 mongoose/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/13 mongoose/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/13 mongoose/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/13 mongoose/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/13 mongoose/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/13 mongoose/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/13 mongoose/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/views/partials/add-to-favourite.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 6 |
7 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/13 mongoose/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render("404", { 4 | pageTitle: "Page Not Found", 5 | isLoggedIn: req.session.isLoggedIn, 6 | }); 7 | }; 8 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/models/Favourite.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | 3 | const favouriteSchema = new mongoose.Schema({ 4 | homeId : { 5 | type: mongoose.Schema.Types.ObjectId, 6 | ref: 'Home', 7 | required: true, 8 | unique: true, 9 | }, 10 | }); 11 | 12 | module.exports = mongoose.model("Favourite", favouriteSchema); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/14 cookies and sessions/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/views/partials/add-to-favourite.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 6 |
7 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/14 cookies and sessions/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render("404", { 4 | pageTitle: "Page Not Found", 5 | isLoggedIn: req.session.isLoggedIn, 6 | user: req.session.user, 7 | }); 8 | }; 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/15 authentication/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/15 authentication/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/15 authentication/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/15 authentication/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/15 authentication/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/15 authentication/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/15 authentication/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/15 authentication/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/views/partials/add-to-favourite.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 6 |
7 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/15 authentication/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render("404", { 4 | pageTitle: "Page Not Found", 5 | isLoggedIn: req.session.isLoggedIn, 6 | user: req.session.user, 7 | }); 8 | }; 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/16 email and advance auth/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/16 email and advance auth/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/16 email and advance auth/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/16 email and advance auth/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/16 email and advance auth/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/16 email and advance auth/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/16 email and advance auth/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/16 email and advance auth/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/views/partials/add-to-favourite.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 6 |
7 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/16 email and advance auth/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render("404", { 4 | pageTitle: "Page Not Found", 5 | isLoggedIn: req.session.isLoggedIn, 6 | user: req.session.user, 7 | }); 8 | }; 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/rules/Airbnb-Rules.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/rules/Airbnb-Rules.pdf -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/uploads/photo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/17 upload and download/uploads/photo.jpg -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/util/file.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | 3 | exports.deleteFile = (filePath) => { 4 | fs.unlink(filePath, err => { 5 | if (err) { 6 | throw err; 7 | } 8 | }) 9 | }; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/views/partials/add-to-favourite.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 6 |
7 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/17 upload and download/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/.env.example: -------------------------------------------------------------------------------- 1 | MONGO_DB_USERNAME= 2 | MONGO_DB_PASSWORD= 3 | MONGO_DB_DATABASE= 4 | 5 | FROM_EMAIL= 6 | SENDGRID_API_KEY= -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render("404", { 4 | pageTitle: "Page Not Found", 5 | isLoggedIn: req.session.isLoggedIn, 6 | user: req.session.user, 7 | }); 8 | }; 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/rules/Airbnb-Rules.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/rules/Airbnb-Rules.pdf -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/uploads/pick.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/18 deployment/uploads/pick.jpg -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/util/file.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | 3 | exports.deleteFile = (filePath) => { 4 | fs.unlink(filePath, err => { 5 | if (err) { 6 | throw err; 7 | } 8 | }) 9 | }; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/views/partials/add-to-favourite.ejs: -------------------------------------------------------------------------------- 1 |
2 | 3 | 6 |
7 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/18 deployment/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/2 Routing Request/buy.txt: -------------------------------------------------------------------------------- 1 | Myntra app -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/2 Routing Request/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Myntra 5 | 6 | 7 |

Welcome to First Server

8 |
9 | 10 | 11 |
12 | 13 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/3 Parsing and Modules/app.js: -------------------------------------------------------------------------------- 1 | // Core Module 2 | const http = require('http'); 3 | 4 | // Local Module 5 | const {handler} = require('./RequestHandler'); 6 | 7 | const server = http.createServer(handler); 8 | const PORT = 3001; 9 | server.listen(PORT, () => { 10 | console.log(`Server running at: http://localhost:${3001}`); 11 | }); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/3 Parsing and Modules/buy.txt: -------------------------------------------------------------------------------- 1 | {"product":"shirt","budget":"1499"} -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/3 Parsing and Modules/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Myntra 5 | 6 | 7 |

Welcome to First Server

8 |
9 | 10 | 11 |
12 | 13 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/4 npm and tools/app.js: -------------------------------------------------------------------------------- 1 | // Core Module 2 | const http = require('http'); 3 | 4 | // Local Module 5 | const {handler} = require('./RequestHandler'); 6 | 7 | const server = http.createServer(handler); 8 | const PORT = 3000; 9 | server.listen(PORT, () => { 10 | console.log(`Server running at: http://localhost:${PORT}`); 11 | }); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/4 npm and tools/buy.txt: -------------------------------------------------------------------------------- 1 | {"product":"shirt","budget":"1499"} -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/4 npm and tools/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Myntra 5 | 6 | 7 |

Welcome to First Server

8 |
9 | 10 | 11 |
12 | 13 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/5 starting express/buy.txt: -------------------------------------------------------------------------------- 1 | {"product":"shirt","budget":"1499"} -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/5 starting express/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Myntra 5 | 6 | 7 |

Welcome to First Server

8 |
9 | 10 | 11 |
12 | 13 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/6 express deepdive/buy.json: -------------------------------------------------------------------------------- 1 | {"product":"jeans","budget":"1299"} -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/6 express deepdive/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Myntra 5 | 6 | 7 |

Welcome to First Server

8 |
9 | 10 | 11 |
12 | 13 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/7 airbnb/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/7 airbnb/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/*.html"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/7 airbnb/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/8 dynamic ui/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/8 dynamic ui/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.{html,ejs}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/8 dynamic ui/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/8 dynamic ui/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/8 dynamic ui/views/home-added.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |

Home Added Successfully

6 | 7 | 8 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/8 dynamic ui/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.statusCode = 404; 3 | res.render('404', {pageTitle: 'Page Not Found'}); 4 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/controllers/storeController.js: -------------------------------------------------------------------------------- 1 | const Home = require("./../models/Home"); 2 | 3 | exports.getHome = (req, res, next) => { 4 | Home.fetchAll(registeredHomes => { 5 | res.render("index", { homes: registeredHomes, pageTitle: "Tumahara airbnb" }); 6 | }); 7 | }; 8 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/data/homes.json: -------------------------------------------------------------------------------- 1 | [{"houseName":"Utsav","price":"999","location":"delhi","rating":"4","photoUrl":"/images/house1.png"},{"houseName":"Vacation Home","price":"1499","location":"goa","rating":"9","photoUrl":"/images/house5.png"}] -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/public/images/house1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/9 MVC/public/images/house1.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/public/images/house2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/9 MVC/public/images/house2.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/public/images/house3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/9 MVC/public/images/house3.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/public/images/house4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/9 MVC/public/images/house4.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/public/images/house5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/9 MVC/public/images/house5.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/public/images/house6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/9 MVC/public/images/house6.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/public/images/house7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/9 MVC/public/images/house7.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/public/images/house8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/5 NodeJs and ExpressJs/9 MVC/public/images/house8.png -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/public/styles/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/routers/hostRouter.js: -------------------------------------------------------------------------------- 1 | const express = require("express"); 2 | const hostRouter = express.Router(); 3 | const hostController = require('./../controllers/hostController'); 4 | 5 | hostRouter.get("/add-home", hostController.getAddHome); 6 | hostRouter.post("/add-home", hostController.postAddHome); 7 | 8 | exports.hostRouter = hostRouter; 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/routers/storeRouter.js: -------------------------------------------------------------------------------- 1 | const express = require("express"); 2 | const storeController = require('./../controllers/storeController') 3 | const storeRouter = express.Router(); 4 | 5 | storeRouter.get("/", storeController.getHome); 6 | 7 | module.exports = storeRouter; 8 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/util/path-util.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = path.dirname(require.main.filename); -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/views/404.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |
6 |

404 Page Not Found

7 |
8 | 9 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/views/home-added.ejs: -------------------------------------------------------------------------------- 1 | <%- include('partials/head') %> 2 | 3 | 4 | <%- include('partials/nav') %> 5 |

Home Added Successfully

6 | 7 | 8 | -------------------------------------------------------------------------------- /5 NodeJs and ExpressJs/9 MVC/views/partials/head.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= pageTitle %> 6 | -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Backend/.azure/config: -------------------------------------------------------------------------------- 1 | [defaults] 2 | group = omprashantjain_rg_7471 3 | sku = F1 4 | appserviceplan = omprashantjain_asp_8475 5 | location = canadacentral 6 | web = mern-live-backend 7 | 8 | -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Backend/.env.example: -------------------------------------------------------------------------------- 1 | MONGO_DB_USERNAME= 2 | MONGO_DB_PASSWORD= 3 | MONGO_DB_DATABASE= -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Backend/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | console.log(req); 3 | res.status(404).json({message: "Page not found"}); 4 | }; -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Frontend/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Frontend/src/components/AppName.jsx: -------------------------------------------------------------------------------- 1 | const AppName = () => { 2 | return ( 3 |

4 | Todo App 5 |

6 | ); 7 | } 8 | 9 | export default AppName; -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Frontend/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Frontend/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Frontend/src/utils/ModelUtil.js: -------------------------------------------------------------------------------- 1 | export const todoItemToClientModel = (serverItem) => { 2 | return { 3 | id: serverItem._id, 4 | todoText: serverItem.task, 5 | todoDate: serverItem.date, 6 | completed: serverItem.completed 7 | } 8 | } -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Frontend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{jsx,html,js}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/1 Todo App/Frontend/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/backend/.azure/config: -------------------------------------------------------------------------------- 1 | [defaults] 2 | group = omprashantjain_rg_7471 3 | sku = F1 4 | appserviceplan = omprashantjain_asp_8475 5 | location = canadacentral 6 | web = mern-live-backend 7 | 8 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/backend/.env.example: -------------------------------------------------------------------------------- 1 | MONGO_DB_USERNAME= 2 | MONGO_DB_PASSWORD= 3 | MONGO_DB_DATABASE= -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/backend/README.md: -------------------------------------------------------------------------------- 1 | # MERNLiveBackend 2 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/backend/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.status(404).send("Page not found"); 3 | }; 4 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/backend/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/backend/routers/exchangeRouter.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const exchangeController = require('../controllers/exchangeController'); 3 | 4 | const router = express.Router(); 5 | 6 | router.post('/convert', exchangeController.convertCurrency); 7 | 8 | module.exports = router; 9 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/backend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/frontend/README.md: -------------------------------------------------------------------------------- 1 | # MERN Live Frontend 2 | 3 | This is the frontend for the MERN Live project. We will keep replacing it with the latest project that we build. The code of older project will be kept in MERNLive repo for reference. -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/frontend/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/frontend/src/App.jsx: -------------------------------------------------------------------------------- 1 | import CurrencyConverter from "./components/CurrencyConverter"; 2 | 3 | function App() { 4 | return ( 5 |
6 |
7 | 8 |
9 |
10 | ); 11 | } 12 | 13 | export default App; 14 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/frontend/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/frontend/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/frontend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{jsx,html,js}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/2 Currency Exchange/frontend/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/backend/.azure/config: -------------------------------------------------------------------------------- 1 | [defaults] 2 | group = omprashantjain_rg_7471 3 | sku = F1 4 | appserviceplan = omprashantjain_asp_8475 5 | location = canadacentral 6 | web = mern-live-backend 7 | 8 | -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/backend/.env.example: -------------------------------------------------------------------------------- 1 | MONGO_DB_USERNAME= 2 | MONGO_DB_PASSWORD= 3 | MONGO_DB_DATABASE= -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/backend/README.md: -------------------------------------------------------------------------------- 1 | # MERNLiveBackend 2 | -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/backend/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.status(404).send("Page not found"); 3 | }; 4 | -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/backend/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/backend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/frontend/README.md: -------------------------------------------------------------------------------- 1 | # MERN Live Frontend 2 | 3 | This is the frontend for the MERN Live project. We will keep replacing it with the latest project that we build. The code of older project will be kept in MERNLive repo for reference. -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/frontend/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/frontend/src/components/Home.jsx: -------------------------------------------------------------------------------- 1 | import BlogList from "./BlogList" 2 | import BlogLoader from "./BlogLoader" 3 | 4 | const Home = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | 12 | export default Home -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/frontend/src/components/NavBar.jsx: -------------------------------------------------------------------------------- 1 | import { Link } from "react-router-dom"; 2 | 3 | const NavBar = () => { 4 | return ( 5 | 9 | ); 10 | } 11 | 12 | export default NavBar; -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/frontend/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/frontend/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/frontend/src/utils/dateUtil.js: -------------------------------------------------------------------------------- 1 | const formatDate = (date) => { 2 | return new Date(date).toLocaleString('en-IN', { 3 | year: 'numeric', 4 | month: 'long', 5 | day: 'numeric', 6 | hour: '2-digit', 7 | minute: '2-digit' 8 | }); 9 | } 10 | 11 | export default formatDate; -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/frontend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{jsx,html,js}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/3 Full Stack Blog/frontend/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/backend/.azure/config: -------------------------------------------------------------------------------- 1 | [defaults] 2 | group = omprashantjain_rg_7471 3 | sku = F1 4 | appserviceplan = omprashantjain_asp_8475 5 | location = canadacentral 6 | web = mern-live-backend 7 | 8 | -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/backend/.env.example: -------------------------------------------------------------------------------- 1 | MONGO_DB_USERNAME= 2 | MONGO_DB_PASSWORD= 3 | MONGO_DB_DATABASE= 4 | GEMINI_API_KEY= -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/backend/README.md: -------------------------------------------------------------------------------- 1 | # MERNLiveBackend 2 | -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/backend/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.status(404).send("Page not found"); 3 | }; 4 | -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/backend/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/backend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/frontend/README.md: -------------------------------------------------------------------------------- 1 | # MERN Live Frontend 2 | 3 | This is the frontend for the MERN Live project. We will keep replacing it with the latest project that we build. The code of older project will be kept in MERNLive repo for reference. -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/frontend/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/frontend/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/frontend/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { createRoot } from 'react-dom/client' 2 | import App from './App.jsx' 3 | import './index.css' 4 | 5 | createRoot(document.getElementById('root')).render( 6 | , 7 | ) 8 | -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/frontend/src/util/timeUtil.js: -------------------------------------------------------------------------------- 1 | const formatTime = (time) => { 2 | return new Date(time).toLocaleString('en-IN', { 3 | day: 'numeric', 4 | month: 'long', 5 | year: 'numeric', 6 | hour: 'numeric', 7 | minute: 'numeric', 8 | hour12: true 9 | }); 10 | } 11 | 12 | export default formatTime; -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/frontend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{jsx,html,js}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/4 Gemini Content Generator/frontend/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/backend/.azure/config: -------------------------------------------------------------------------------- 1 | [defaults] 2 | group = omprashantjain_rg_7471 3 | sku = F1 4 | appserviceplan = omprashantjain_asp_8475 5 | location = canadacentral 6 | web = mern-live-backend 7 | 8 | -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/backend/.env.example: -------------------------------------------------------------------------------- 1 | MONGO_DB_USERNAME= 2 | MONGO_DB_PASSWORD= 3 | MONGO_DB_DATABASE= 4 | OPENAI_API_KEY= -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/backend/README.md: -------------------------------------------------------------------------------- 1 | # MERNLiveBackend 2 | -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/backend/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | export const get404 = (req, res, next) => { 2 | res.status(404).send("Page not found"); 3 | }; 4 | -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/backend/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/backend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./views/**/*.ejs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/frontend/README.md: -------------------------------------------------------------------------------- 1 | # MERN Live Frontend 2 | 3 | This is the frontend for the MERN Live project. We will keep replacing it with the latest project that we build. The code of older project will be kept in MERNLive repo for reference. -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/frontend/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/frontend/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/frontend/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { StrictMode } from 'react' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | 6 | createRoot(document.getElementById('root')).render( 7 | 8 | 9 | , 10 | ) 11 | -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/frontend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{jsx,html,js}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/5 ChatGPT ChatBot/frontend/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/backend/.env.example: -------------------------------------------------------------------------------- 1 | MONGO_DB_USERNAME= 2 | MONGO_DB_PASSWORD= 3 | MONGO_DB_DATABASE= 4 | 5 | JWT_SECRET= -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/backend/README.md: -------------------------------------------------------------------------------- 1 | # MERNLiveBackend 2 | -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/backend/controllers/errorController.js: -------------------------------------------------------------------------------- 1 | exports.get404 = (req, res, next) => { 2 | res.status(404).send("Page not found"); 3 | }; 4 | -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/backend/nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "watch": ".", 3 | "ext": "js,json", 4 | "ignore": ["data/"], 5 | "exec": "node app.js" 6 | } -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/backend/routers/authRouter.js: -------------------------------------------------------------------------------- 1 | const express = require("express"); 2 | 3 | const authController = require("../controllers/authController"); 4 | const authRouter = express.Router(); 5 | 6 | authRouter.post("/signup", authController.signup); 7 | authRouter.post("/login", authController.login); 8 | 9 | module.exports = authRouter; 10 | -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/backend/uploads/4spiwm-solimo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/6 MERN Projects/6 Complete Bazaar/backend/uploads/4spiwm-solimo.png -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/backend/uploads/eog5vj-iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/6 MERN Projects/6 Complete Bazaar/backend/uploads/eog5vj-iphone.png -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/backend/uploads/ephdaq-anarkali.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complete-Coding/MERN_Live/d2c17bc36adc5783073fee2387eb91e404bfa825/6 MERN Projects/6 Complete Bazaar/backend/uploads/ephdaq-anarkali.png -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/backend/utils/file-util.js: -------------------------------------------------------------------------------- 1 | export const fileFilter = (req, file, cb) => { 2 | //const isValidFile = file.mimetype === 'image/png' || file.mimetype === 'image/jpeg' || file.mimetype === 'image/jpg'; 3 | const isValidFile = ['image/png', 'image/jpeg', 'image/jpg'].includes(file.mimetype); 4 | cb(null, isValidFile); 5 | } -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/frontend/README.md: -------------------------------------------------------------------------------- 1 | # MERN Live Frontend 2 | 3 | This is the frontend for the MERN Live project. We will keep replacing it with the latest project that we build. The code of older project will be kept in MERNLive repo for reference. -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/frontend/postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/frontend/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/frontend/src/main.jsx: -------------------------------------------------------------------------------- 1 | import { Provider } from 'react-redux' 2 | import { createRoot } from 'react-dom/client' 3 | import App from './App.jsx' 4 | import './index.css' 5 | import store from './store/index.js' 6 | 7 | createRoot(document.getElementById('root')).render( 8 | 9 | 10 | 11 | ) 12 | -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/frontend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./src/**/*.{jsx,html,js}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | 10 | -------------------------------------------------------------------------------- /6 MERN Projects/6 Complete Bazaar/frontend/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MERN_Live 2 | This Repo will have all the code that will be practised as part of the course. 3 | 4 | 5 | testing 6 | -------------------------------------------------------------------------------- /buy.txt: -------------------------------------------------------------------------------- 1 | {"product":"jeans","budget":"1299"} -------------------------------------------------------------------------------- /kgcoding.txt: -------------------------------------------------------------------------------- 1 | First time writing --------------------------------------------------------------------------------