Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 626 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 626 Bytes

Invoice API's

Steps to run:

  1. Clone or Fork the repo and install dependencies.

    npm install
  2. Install Docker if you don't have it already installed.

  3. Create a docker volume:

    sudo docker volume create postgres_data
  4. Run docker container:

    sudo docker run -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 -v postgres_data:/var/lib/postgresql/data postgres
  5. run npm install

  6. Open the root folder and in terminal migrate the DB:

    npx prisma migrate dev
  7. Run the project:

    npm run dev