Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

192
Visualizações
firebase admin or normal firebase with next js

I am working on next js project and I use it with firebase and right now I use firebase with my components to retrieve some data and it works perfectly - as expected - and I wanted to use firebase in getServerSideProps so I thought I should use firebase admin sdk but for fun I tried to use it with the same firebase package I used on front end and - I don't know how - it worked however the code in getServerSideProps must be a back end code so right now I don't know why does it work and If I should keep using firebase web package or switch to firebase admin package

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The regular (client-side) SDK for Firebase can be used in Node.js too. In fact, it is the recommended SDK to use in untrusted Node.js environments, such as many IoT devices.

The Admin SDKs are designed to run in trusted environments, such as your development machine, a server that you control, or Cloud Functions/Cloud Run.

If you're running the server-side for your app in such a trusted environment (which you likely are), then you can use the Admin SDK to gain access to additional administrative functionality, such as managing multiple users, full unrestricted access to the database/storage, and more.

If you don't need such functionality, you can stick to using the regular SDK.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda