- NodeJS
- Angular CLI
ng new app-ui
npx express-generator --no-view app-server- Add bootstrap
- Create an omdb service
- Express
- Nodemon
- Axios
- Search Page
- Result Page
- API -> Application Programming Interface
- HTTP -> Hyper Text Transfer Protocol
- Rest -> Representational State Transfer
- function reference -> input -> output
- url ( GET, POST, PUT, DELETE, etc. ) -> json, url parameters -> json, xml, html
Has a Request and Response
- NodeJS -> Javascript runtime
- NPM -> Node Package Manager
Angular Application ( UI ) ->
- Search Page ( User will enter a title ) -> Search based on that title -> Display the results.
- Result Page ( Clicks on a particular result ) -> Show specific information about that movie.
UI -> Our Backend -> OMDB Backend
- Middle Layer between UI and OMDB server
- Create template project
- remove var. replace with const. ( Because of hoisting )
- Problem with express
// Passport library
- Services ( singletons, dependency injection ), Components ( view + behviour ), Modules
- Input and Output ( How do parent and child components communicate )
- Lifecycle Hooks ( OnInit, OnDestroy, OnChanges ( It gets called once initially and then will get called when input from parent changes ) )
- Observables Subjects ( pub sub )
- Directives, Pipes
- Typescript ? What and why?
- SCSS ? What and why?
- setTimeouts()
- == vs ===
- Variable Hoisting
- Scoping rules
- prototypal inheritance
function Person(name, age) { this.name = name; this.age = age; } var a = new Person("John", 12)
- Middlewares
- Connecting to databases
- Authentication