LaunchPad.js
Database

Quick Setup

Quickly connect to a PostgreSQL database via docker and start shipping!

For this you need to have docker installed in your system.

If you want to quickly setup a database and start shipping you can run the docker compose file in the repo by following command.

docker compose up -d

Dont change the DATABASE_URL in the .env file. It should look like this.

DATABASE_URL="postgresql://myuser:mypassword@localhost:5432/mydb"

Your username and password should be same as the one in the docker compose file. If you want to change it you can do it in the docker compose file.

That's it you can now start the development server by running the following command.

npm run dev

On this page

No Headings