- This repo is based on Namaste React Web Series Course by Akshay Saini founder of NamasteDev.
- In this repository, there are 13 lessons grouped into 13 branches. The lesson details and the corresponding code changes can be viewed by switching branches.
- This main branch contains the complete Swiggy Front-End clone code with testing.
- Follow this blog to build the app step by step (Bonus part is not covered).
- In this project, I am not using Tailwind CSS. Currently, I am only using basic CSS.
- How we worked before React.js came
- ReactJS using React CDN Links
- React and ReactDOM
- React.createElement()
- Bundlers
- Parcel
- Tree Shaking
- HMR
- NPM
- NPX
- package.json and package-lock.json
- Dependencies vs DevDependencies
- JSX
- Babel
- React.createElement vs JSX
- Functions Components
- Composing Components
- VirtualDOM
- Reconciliation
- React Fiber
- Keys in React
- Props
- Config Driven UI
- React.Fragment and <></>
- Intro to Food App clone
- Hooks
- useState Hook
- Named Export, Default export and * as export
- File structure
- Filter Functionality
- Monolith and Microservice
- useEffect Hook
- Optional Chaining
- Shimmer UI
- Conditional Rendering
- CORS
- Fetching data from Swiggy's live API
- Search functionality
- Routing
- Client Side Routing and Server Side Routing
- SPA
- Various ways to add images into our App
- Class based components
- React lifecycle methods
- Nested Routes
- Custom Hooks
- Code Splitting
- Tailwind CSS
- tailwind.config.js
- .postcssrc file
- Prop drilling
- Lifting State Up
- React Context API
- Redux Toolkit
- Context API vs Redux
- Dispatcher
- Reducer
- Slice
- Selector
- Cart Functionality
- Types of testing
- React Testing Library
- Jest
-
Clone this repo
git clone 'https://github.com/anas-ambalavan/namaste-react.git'
-
Install dependencies
cd namaste-react
npm i
-
Run app
npm start
-
To run test cases
npm run test
-
If you want to watch tests
npm run watch-test
Happy Coding 💖