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?
Like someone in the comments mentioned. The best way to go is to have an SQL script that runs on start.