RUN: docker-compose up -d
RUN: docker exec -it springboot-api-postgres-c psql -U admin
List All Databases
RUN: \list
CREATE ecommerce DATABASE
RUN: CREATE DATABASE starter;
List All Databases
RUN: \list
THIS SHOULD NOW INCLUDE A NEW DATABASE starter
Most of the APIs are protected so user needs to be authenticated to use those. Create a new user /api/v1/auth/register
, copy the token from response, click on authorize
button in top-right
corner and paste the token in value field
, and click on authorize
.