Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

108
Views
Pre population a PostgreSQL database

So right now I have a simple Node.js API that uses PostgreSQL to query data, but what I want is to already have some data stored in the database when someone starts my project for the first time. What would we the best way to do it? Do I just hard code the data, or build some kind of a script that would run at the start of the server?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Like someone in the comments mentioned. The best way to go is to have an SQL script that runs on start.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!