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

1.3K
Visualizações
Is it possible to connect an existing database with Strapi CMS?

I am trying to create an API using Strapi CMS. I have an existing postgres + postgis database and i would like to connect-use this database in a Strapi project.

Do you know if it is possible to do something like this? Thank you in advance

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

I was looking for an answer for this also, but it seems the only answer is no, because Strapi is not schema-agnostic: you must adopt their database structure to use Strapi.

Now if I could only figure out a way to ask Stack Overflow for a schema-agnostic headless CMS ... without getting it flagged as an invalid/subjective question ...

over 4 years ago · Santiago Trujillo Relatório

0

You can do it while you create a strapi app just choose custom and setup the database there. and to import existing tables from that db just create a mock table using strapi admin panel and in /api folder in your project root folder and copy paste the table data you just created in api folder and chage the name of that folder to the table name and do same for the files in side that folder and,

in the api>(your table folder)>config>routes.json file change the name of table inside I will add a link to help you better understand.

for setup in strapi with existing database> configure-strapi-postgresql

I couldn't find the tut for setting up exist but this is for mysql setps are smilers.

strapi with sql

over 4 years ago · Santiago Trujillo Relatório

0

The best way is to create a new database with the same structure but created with strapi and after migrate the data.

over 4 years ago · Santiago Trujillo 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