Skip to content

nestdotland/db

Repository files navigation

Nest DB

This repository is used to manage Nest's DB migrations.

Getting started

  1. Set the evvironment variables

    cp example.env .env
    # and update the environmet variables
  2. Start the Docker container

    docker-compose up

Contributing

  1. Install dependencies

    yarn install
  2. Setup Environment

    cp example.env .env # and update the variables as needed
  3. Start the container

    ./dump.sh
    docker-compose -f docker-compose.dev.yml up -d
  4. Run Prisma Studio to view the database contents

    yarn studio

    Or you can use the pgweb interface on http://localhost:8081 for advanced usage.

License

The contents of this repository are licensed under The MIT license.

About

[WIP] 🗄️ Nest DB migrations

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project