[#Script #Coding] Code a Reddit Clone with React, Next.js, Firebase v9, Chakra UI – Full Course

Code a Reddit Clone with React, Next.js, Firebase v9, Chakra UI – Full Course

By freeCodeCamp.org
Published: Jan 25, 2023


freeCodeCamp.org Learn to build a Reddit clone from scratch using React, Firebase, Next.js, Chakra UI, and TypeScript. The application features authentication, Firestore database, cloud functions, security rules, Transactions, deployment, and more.

This course was created by @shadmerhi.

Code: https://github.com/shadeemerhi/reddit-clone-yt

    Contents

  • (0:00:00) Intro & Project Demo
  • (0:08:25) Begin Project (Preface, Create Next App, Next.js fundamental concepts: pages and client-side routing)
  • (0:11:26) Core package installations (Chakra-React, Firebase, Recoil) and & ChakraProvider setup & Quick Note on React 18 (w/ Chakra)
  • (0:14:12) Create Chakra Theme (theme setup & explanation and global styling)
  • (0:19:28) React TypeScript Intro & Next.js Layout Component
  • (0:22:40) Begin Navbar (Navbar in Layout Component, component folder structure debrief)
  • (0:24:30) Navbar Logos & Chakra UI Styling Fundamentals (flexbox, component styling, responsive design w/ media queries)
  • (0:29:56) SearchInput Component
  • (0:36:37) Authentication buttons & Chakra UI global component styling explanation
  • (0:44:59) Authentication Modal Intro (Chakra UI modal skeleton)
  • (0:47:23) Recoil Setup & Intro, Recoil Atoms with TypeScript, Auth Modal w/ global Recoil State
  • (0:57:44) Authentication Modal Content (Login & Sign Up forms, React form state, React events w/ TypeScript)
  • (1:18:57) OAuth Buttons (Sign In w/ Google, Facebook, Github, etc.)
  • (1:23:49) Firebase Setup (Create new Firebase Project, Client SDK’s)
  • (1:30:31) User Creation (react-firebase-hooks, useCreateUser firebase hook)
  • (1:40:22) Firebase Error Handling (TypeScript indexing, custom error messages)
  • (1:46:13) Google Authentication (useSignInWithGoogle hook)
  • (1:51:28) Sign in Existing users (useSignInWithEmailAnPassword firebase hook)
  • (1:56:45) useAuthState firebase hook (currently signed-in user, modify navbar UI for authenticated user)
  • (2:03:54) Reset Passwords (useSendPasswordResetEmail firebase hook)
  • (2:09:04) Navbar Icons (react-icons)
  • (2:16:47) User Dropdown Menu (Chakra Menu component)
  • (2:26:54) User Karma (custom user properties)
  • (2:28:55) Community Directory in Navbar (create community intro)
  • (2:38:09) Create Community Modal 1: Skeleton
  • (2:44:34) Create Community Modal 2: Body (input, character count, community type list)
  • (3:01:20) Create Communities & Cloud Firestore Database
  • (3:17:37) Joining Communities 1 (User communities, SQL vs. NoSQL Data Modelling)
  • (3:27:31) Cloud Functions (firebase-admin, Authentication, Adding Custom User Properties)
  • (3:38:43) Cloud Functions Alternative for Custom User Properties, optional
  • (3:43:46) Joining Communities 2 (Firestore Transactions and Sub-Collections)
  • (3:50:12) Community Page (Server-side Rendering w/ NextJS, data fetching w/ getServerSideProps)
  • (4:01:44) Community Not Found component
  • (4:04:36) Community Page Header component
  • (4:14:30) Custom PageContent Layout component (React children)
  • (4:25:20) Community Data Recoil Atom (global communities state)
  • (4:30:29) useCommunityData Custom Hook (Creating Custom Hooks in React)
  • (4:39:35) Fetch User Community Snippets (getMyCommunities function)
  • (4:50:59) Join & Leave Communities (Firestore Database Batched Writes)
  • (5:04:26) Create Post Page & CreatePostLink Component
  • (5:08:17) NewPostForm 1: FormTabsComponent (Multi-step React forms)
  • (5:20:36) NewPostForm 2: PostTextInputs (Post Title & Body)
  • (5:31:50) NewPostForm 3: ImageUpload Component
  • (5:49:13) handleCreatePost Function (Save Posts to Firestore, Upload Image to Firebase Storage)
  • (6:07:45) Fetch All Posts in Community (usePosts custom hook, Firestore queries)
  • (6:17:56) PostItem Component
  • (6:38:07) PostLoader Component (Chakra UI Skeletons)
  • (6:43:17) Deleting Posts (handleDelete function, TypeScript promises)
  • (6:54:23) About Community Component (currentCommunity recoil state)
  • (7:10:19) Customize Community Image (useSelectFile custom react hook, Admin/Moderator permissions)
  • (7:30:24) Voting on Posts (user postVotes collection batched writes)
  • (8:11:30) Single Post Page (Next.js Dynamic [pid] route, event propagation)
  • (8:29:25) Single Post Link Sharing (refresh dilemma, fetchPost fallback function)
  • (8:35:09) Community Data Refresh Dilemma (getCommunityData fallback function)
  • (8:43:49) Commenting on Posts (comment collection data modelling)
  • (9:08:46) CommentItem Component
  • (9:29:41) Deleting Comments
  • (9:37:25) Community Navigation Dropdown (communityDirectory recoil atom)
  • (9:55:31) useDirectory custom react hook
  • (10:14:15) Home Page (Governing logic)
  • (10:21:48) Home Feed for Logged-Out Users
  • (10:38:11) Home Feed for Logged-In Users
  • (10:54:20) Post Votes for Feed Posts
  • (11:00:01) Top Communities Component (and supporting components)
  • (11:20:34) Deployment with Vercel
  • (11:32:06) Firebase Security Rules
  • (11:41:48) Project Completion & Outro

[#Script #Coding] Python Platformer Game Tutorial for Beginners

Python Platformer Game Tutorial for Beginners

By freeCodeCamp.org
Published: Mar 20, 2023


freeCodeCamp.org Learn how to build a platformer game in Python. This game will have pixel-perfect collision, animated characters, and much much more!

✏️ Course created by @TechWithTim

💻 Assets and Completed Code: https://github.com/techwithtim/Python-Platformer/tree/main/assets

⭐️ Timestamps ⭐️
⌨️ (0:00:00) Project Demo
⌨️ (0:01:32) Project Brief/Getting Started
⌨️ (0:03:07) Project Setup
⌨️ (0:04:18) Asset Walkthrough
⌨️ (0:05:38) Game Setup
⌨️ (0:10:57) Generating The Background
⌨️ (0:18:15) Creating The Player
⌨️ (0:27:39) Moving The Player
⌨️ (0:31:20) Adding Gravity
⌨️ (0:35:19) Loading/Splitting Sprite Sheets
⌨️ (0:48:50) Animating The Player
⌨️ (0:56:14) Adding Terrain/Blocks
⌨️ (1:08:51) Pixel Perfect Collision (Vertical)
⌨️ (1:14:48) Jumping & Double Jumping
⌨️ (1:22:28) Scrolling Background
⌨️ (1:27:53) Pixel Perfect Collision (Horizontal)
⌨️ (1:36:16) Adding Traps (Fire)
⌨️ (1:45:09) Player Collision With Traps
⌨️ (1:50:51) Conclusion

🎉 Thanks to our Champion and Sponsor supporters:
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Erdeniz Unvan
👾 Justin Hual
👾 Agustín Kussrow
👾 Otis Morgan

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

Top Headlines for April 19, 2023

Headline News from the Associated Press

Analysis-Banking crisis scars struggling U.S. real estate stocks


Markets

China says drafting plans to boost recovery, expansion of consumption

India to have 2.9 million more people than China by mid-2023, UN estimates


Technology

Dell forecasts upbeat revenue on strong PC demand

Top US Senate Republican backs U.S. Supreme Court chief amid calls for Thomas probe


Deals

Glencore raises pressure on Teck Resources with promise of higher bid

[#Script #Coding] Custom Icons in VS Code

Custom Icons in VS Code

By codeSTACKr
Published: Apr 10, 2023


codeSTACKr 🦸 Become A VS Code SuperHero Today: https://vsCodeHero.com
🧑🏾‍🤝‍🧑🏽 Join my Discord developer community: https://discord.gg/A9CnsVzzkZ

Did you know you can customize the vs code program icon theme and folder icon theme?
The program icon theme is really just for aesthetics and changes the icons on your primary sidebar.
There are several to choose from. I like Carbon and Material, but I mostly use Fluent Icons.
Now, the file icons are a must. The default Seti theme is just lacking context. Most files have a decent icon but folders have on icons. It’s so much easier to identify file/folder structures with good identifying icons.
There’s the VSCode Icons theme that I really like and the Material Icon theme. Now it’s obvious what all of the folders contain.
All of these icon themes can be found in the extensions panel.
_____________________________________

🛠️ Tools I use:
🟠 codeSTACKr Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
🟠 STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
🟠 SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions
_____________________________________

💖 Show support!
PayPal: https://paypal.me/codeSTACKr
_____________________________________

👀 Watch Next:
Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt
_____________________________________

🌐 Connect With Me:
Website: https://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr
Facebook: https://facebook.com/codeSTACKr
_____________________________________

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

#codeSTACKr #vscode #learntocode

[#Video #Editing] Harry Potter Inspired Stop Motion Challenge

Harry Potter Inspired Stop Motion Challenge

By Olufemii
Published: Mar 17, 2023


Olufemii 🎧 Download My Favourite Sound Pack ➡ https://goaff.pro/6ur5xtmcbl
📹 Learn To Create Product Videos ➡ https://bit.ly/PVSCourse

In this video I challenge myself to stop motion a random object. Little did I realise this would be one of the more difficult products to stop motion and required me to animate fire 🔥.

#stopmotion #aftereffects #productvideos

Find Quinn on Instagram here: https://www.instagram.com/quinn_films/

Top Headlines for April 18, 2023

Headline News from the Associated Press

Exclusive-Airbus delays some 2024 deliveries, keeps output goals


Markets

European shares hold near 14-month top, sterling strengthens

Blinken warns Sudan’s warring generals after U.S. convoy faces fire


Technology

Dell forecasts upbeat revenue on strong PC demand

US Senator Fetterman returns to Senate after depression treatment


Deals

GSK bets $2 billion on Bellus cough drug to soothe pipeline fears

[#AfterEffects #Video] Save time with reusable Motion Graphics templates in @AdobeVideo | Cinecom #Shorts

Save time with reusable Motion Graphics templates in @AdobeVideo | Cinecom #Shorts

By Cinecom.net
Published: Apr 13, 2023


Cinecom.net 🔴 FULL EPISODE
â–º https://youtu.be/miiGiGtFuTU

👕 MERCH
â–º https://cinecom.net/merch

🎬 Check our Award Winning Courses
â–º https://cinecom.net/courses

💙 LETS CONNECT!
Instagram â–º http://cinecom.info/Instagram
Discord â–º http://discord.gg/Cinecom

💥 Don’t get over-charged with expensive pay-per-clip pricing. Embrace the freedom of an unlimited library with Storyblocks
â–º http://storyblocks.com/Cinecom

#Cinecom #AdobePartner

[#Script #Coding] Best VS Code Feature! Never Lose Your Code!

Best VS Code Feature! Never Lose Your Code!

By codeSTACKr
Published: Mar 27, 2023


codeSTACKr Become A VS Code SuperHero Today: https://vsCodeHero.com
Join my Discord developer community: https://discord.gg/A9CnsVzzkZ

Have you ever been in-between git commits, you add some code and save it, close VS Code and come back the next day to refactor some code and accidentally delete the code you added yesterday. It was never committed so git can’t help you. But did you know that VS Code now saves all of your local history for you? All saves and undo/redos are right here under the Timeline. You can go back to any state and see the diff. Even the accidentally deleted uncommitted code.
_____________________________________

🛠️ Tools I use:
🟠 codeSTACKr Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
🟠 STACKr Code Font (Exclusive to my VS Code Course – https://vsCodeHero.com)
🟠 SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions
_____________________________________

💖 Show support!
PayPal: https://paypal.me/codeSTACKr
_____________________________________

👀 Watch Next:
Playlist: Web Development For Beginners – https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt
_____________________________________

🌐 Connect With Me:
Website: https://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr
Facebook: https://facebook.com/codeSTACKr
_____________________________________

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

#codeSTACKr #vscode #learntocode

Top Headlines for April 17, 2023

Headline News from the Associated Press

Fox defamation trial delayed, network pursues settlement talks


Markets

China central bank boosts liquidity support with roll over of medium-term loans

Bombardments rock Sudan capital for third day, US calls for ceasefire


Technology

Dell forecasts upbeat revenue on strong PC demand

US Supreme Court considers Christian mail carrier’s refusal to work Sundays


Deals

Italian Design Brands to list on Euronext Milan

[#Script #Coding] Data Science Job Interview – Full Mock Interview

Data Science Job Interview – Full Mock Interview

By freeCodeCamp.org
Published: Mar 13, 2023


freeCodeCamp.org This full-length interview will show you what a data science interview is like. This is a great video for anyone currently in the job-market for a data-focused role. It is also a solid video for anyone who wants a better understanding of the machine learning process. They cover topics that include building a dataset for training/testing purposes, feature vectorization, and model implementation details. Consider pausing after the question and thinking about how you would answer them.

Interviewer: @KeithGalli
Interviewee: @KylieYYing

⭐️ Contents ⭐️
⌨️ (0:00:00) Video overview & format
⌨️ (0:02:13) Introductory Behavioral questions
⌨️ (0:07:46) Social media platform bot issue task overview
⌨️ (0:15:26) What are some features we should investigate regarding the bot issue?
⌨️ (0:25:02) Classification model implementation details (using feature vectors)
⌨️ (0:41:38) What would a dataset to train models to detect bots look like? How would you approach collecting this data?
⌨️ (0:51:38) Technical implementation details (python libraries, cloud services, etc)
⌨️ (0:56:01) Any questions for me?
⌨️ (1:03:42) Post-interview breakdown & analysis

🎉 Thanks to our Champion and Sponsor supporters:
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Erdeniz Unvan
👾 Justin Hual
👾 Agustín Kussrow
👾 Otis Morgan

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

Proudly powered by WordPress
Creative Commons License
EricBrooks.Com® is licensed under a Creative Commons License.

Disclaimer: The views expressed herein are solely those of Eric Brooks. They do not necessarily reflect those of his employers, friends, contacts, family, or even his pets (though my cat, Puddy, seems to agree with me on many key issues.). In accordance to my terms of use, you hereby acknowledge my right to psychoanalyze you, practice accupuncture, and mock you incessantly with every visit. As the user, you also acknowledge that the author has been legally declared a "Problem Adult" by the Commonwealth of Pennsylvania, and is therefore not responsible for any of his actions. ALSO, the political views and products advertised on this site may/may not reflect the views of Puddy or myself, so please don't take them as an endorsement. We just need to eat.


Connect