Hi!
I have a very little question: I have a Google Keys JSON file, and I can’t store it publicly (Source: cloud.google.com)
I had the idea of storing it on the .data folder, and I have stored it there, but how can my app.js backend access it?
My code:
// app.js
const express = require('express');
const bodyParser = require('body-parser');
const { google } = require('googleapis');
const unirest = require('unirest');
> const gkeys = require('.data/googlekeys.json');
const app = express();
app.use(bodyParser.urlencoded({
extended: false
}));
app.use(bodyParser.json());
etc...
Files:
Project name: polar-rhetorical-cormorant
Type: Google Chat bot
Edit: This project was deleted, but I still have the question.