Code Monkey home page Code Monkey logo

api-zaiko-ts-demo's Introduction

Api Zaiko

Api conectada a Base de datos productiva

Usar Docker para Postgres (local)

Solicitar script de base de datos y seeds

Herramienta hecha en Node, Express y Postgres(Adding)

  • Para correr el contenedor de docker en local: docker-compose up -d postgres
  • Para ejecutar el bash del componente es: winpty docker-compose exec postgres bash
  • Para accede a la base de datos: psql -h localhost -d zaiko_db -U zaiko_admin
  • Para correr el contenedor de docker en local: docker-compose up -d pgadmin
  • Para correr el pgadmin en local:
    - http://localhost:5050/login?next=%2F
    - [email protected]
    - root
    
  • Para saber que IP está usando postgres:
    - docker ps (Se obtiene el id del contenedor/ tambien está en el docker desktop)
    - docker inspect #####
    - Usar el campo: "IPAddress": "172.21.0.2"
    
  • Para crear server en el pgadmin:
    - HOST: IPAddress
    - DB=zaiko_db
    - USER=zaiko_admin
    - PASSWORD=zaiko_pass
    - Guardar la password
    

Desarrollado por @dejeloper

api-zaiko-ts-demo's People

Contributors

dejeloper avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.