Generate NFTs with this simple code

Hi, I am following the above tutorial and its going well, except when i get to the index.js page, the structure is different than the files i downloaded from Github. Specifically in the downloaded index.js file, it is different and asks for an app url and api key which do not feature in the tutorial.

O i have managed to find the API key, but not the URL, however when i do add the server URL, Visual editor is telling me i have an unexpected :

const serverUrl = process.env.https://azcj8td8zt33.usemoralis.com:2053/server;

usually you can get the api key from this page: https://admin.moralis.io/web3Api

and you should find the API url on same page when you try a simple API there

1 Like