Categories
Angular Javascript npm

Angular package.json file overview

I think this might be helpful for any novice Angular developer like me. It is important to know how this package.json works, among other things, because of possible vulnerabilities of the project.

Also it is useful to avoid a backup of the node_modules folder, making your project back up much smaller and it will allow NPM (Node Package Manager), to install all the required dependencies whenever you need it.

https://www.codestack.net/angular/getting-started/package/#:~:text=files%20and%20folders.-,package.,packages%20installed%20for%20the%20project

I also shared it on my linkedin. Visit me and tell me what you think 🙂

 

EDIT: I update with some good info which may be very helpful to you, as I asked about package.json and vulnerabilities on Stack Overflow and I received a very good answer:

https://stackoverflow.com/questions/68415239/npm-audit-force-is-not-recommended-if-you-are-not-expert-what-to-do-then-is/68416325?noredirect=1#comment120923232_68416325

 

Categories
Javascript Wordpress

Javascript manually coded Google Maps

google-maps

 

Many times, WordPress plugins give a lot of problems; so, if you have time and skills, i think is better to implement the funcionality with your own code.

The plugin I was using for the google maps on a client´s site

https://intepsicologiabilbao.es/contacto-inte-psicologos/

So I decided to code it, then I could learn a bit and also improve it.

Now each time you click the icon, the info appears/ disappears, and you can make a call to the client pressing the link, with the help of the href=tel attribute.

I have uploaded code to Github, just take in mind you must set your own API KEY with a billing account in order to use it properly on production. You have more info on the project`s README.md

https://github.com/Franweb79/google-maps-test