Hello,
I am in one of the projects of FreeCodeCamp (Image Search Abstraction Layer) and I need to create a search engine in my web, in Glitch.
I am using the default code for new Projects:
- assets
- env
- package.json
- public/client.js
-public/style.css - README.md
- server.js
- views/index.html
I already created one search engine in google through the google custom search API and I have three details in the panel that controls that:
- Search engine ID
- Public URL
- Get code
My question is where should I place the details of my customized search engine?
I placed the code in the html but it doesn’t work
Do I need to place the values of Search Engine ID and the Public URL in the file .env. ?
If that how should I name the constants where those values are assigned to?