Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

308
Vistas
API Keys with dotenv made me net::ERR_CONNECTION_REFUSED

Im trying so hard to run this "job project" from Github, so i put my API keys on .env created file locate on root of api directory

APP_ID=00000000
API_KEY=000000000000000000000000

...and put this code on my config.js :

require('dotenv').config({ path: 'api/.env' })
module.exports = {
  APP_ID: process.env.APP_ID,
  API_KEY: process.env.API_KEY,
  BASE_URL: 'https://api.adzuna.com/v1/api/jobs',
  BASE_PARAMS: 'search/1?&results_per_page=20&content- 
  type=application/json',
};

But it looks like the request failing with this error net::ERR_CONNECTION_REFUSED: enter image description here I think, it dosent happens to take the api keys values, because accessKeyId is always empty

So, does there any other way to hide the api keys for it to work ?

Thanks

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda