You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using a version-control system, you don't want to check creds.js into it, as it contains sensitive data.
Rather, you'll want to create a file called .env, in the root of your directory, and put the credentials-info in there. Like so:
USERNAME=GeekLaunch
PASSWORD=Password1!
Subsequently, you can use the npm package dotenv to load the data in that .env file as environment variables. You would then be able to access the .env data by doing something like process.env.USERNAME or process.env.PASSWORD.
Finally, don't forget to ignore.env from your version-control system.
please give me tutorials in create the file of creds.js
The text was updated successfully, but these errors were encountered: