Repo contains all the learnings from the cohort, assignments and other practice code.
- Basic foundations of JS
- Async JS and Promises
- Async JS Revision
- callbacks, promises, async/await
- map() and filter() methods
- Nodejs
- importing modules using
require(””)
(CJS) andimport _ from “module”
(ESM) - modules
- npm initialization and package installation
- reading and writing files with
fs
module - making http server using
http
module - nodemon
- importing modules using
- Express
- needs of express framework
- making a basic http server
- listening to the port ->
app.listen(port)
- request methods
- status codes
(request, response) => {}
- accessing data from the body ->
req.body
- need of
express.json()
res.send, res.json
- mongoDB and postgress installation
- middlewares, working with middlewares
next()
and use of it- error based middlewares
- making a rate limiter using custom middleware
- prechecks
- Auth
- Input validation
- global catch:
app.use((err, req, res, next))
- zod library for input validation
- fetch API =>
fetch('URL', { method: 'POST', .... })
- hashing, encryption, jwt, local storage
- using jwt for Auth
- database introduction
- DOM Manipulation
- accessing the elements
- manipulating the elements
- creating and editing the values of the elements
- Debouncing and throttling:
delaying the execution of function for an event
- React Intro and it's need