@amaanKul
Nothing here yet.
Nothing here yet.
No blogs yet.
Check out this playlist . It goes through the some of the major design patterns in javascript. Once you understand these patterns, then you can pick up literally any library and you'll be able to understand it with ease.
In your if statement you are comparing time if (time < 11 ) // time = 121 // this if statement will result to false and hence will not run Moving on to your else if statement else if (time < 17 ) // time = 121 // again the statement is false and will not run when you run the console.log(restaurantSpecials[meal]) method, the value of meal has not changed since the conditional statements above have not run. Hence the value of meal will still be 'none'
By live web app I meant that it is already deployed and people are using it. It is developed using Laravel. It lacks a frontend framework and the frontend needs to be revamped. Apart from that functionalities like 1-to-1 chat would serve better with node.js I believe. I too thought of going with a microservices architecture but I dont know how to proceed with the process. I'll be grateful to you for your help :)
Try this: 1.) Once the project is on your machine, open cmd/terminal and run:- For cmd npm install -g npm @ 5.6 .0 For terminal sudo npm install -g npm @ 5.6 .0 2.) Verify the npm version once it is installed by running: npm -v This should print out 5.6.0 3.) Enter the project folder via your command-line and run npm install 4.) Then run ng serve Your app will run without any compilation errors.