Skip to content

Some crud api with node.js and hapi.js. Studying some stuff about backend frameworks

Notifications You must be signed in to change notification settings

laurobs8/API-Node-Hapi.js-

Repository files navigation

Curso nodebr node com hapi.js

Instalando docker para usar o MongoDB e Postgres

docker run \
    --name postgres \
    -e POSTGRES_PASSWORD={senha} \
    -e POSTGRES_USER={usuario} \
    -e POSTGRES_DB=herois \
    -p 5432:5432 \
    -d \
    postgres

docker run \
    --name adminer \
    -p 8080:8080 \
    --link postgres:postgres \
    -d \
    adminer





docker run -it \
 -p 5432:5432 \
 --link postgres:postgres \
 postgres psql -h $HOST -p $PORT -U $USER $DATABASE
  • Go to http://localhost:8080/?pgsql=postgres&username=postgres&db=heroes&ns=public

About

Some crud api with node.js and hapi.js. Studying some stuff about backend frameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published