Pabloin / techu-backend

techu-backend
1 stars 0 forks source link

Login User Backend #4

Closed Pabloin closed 5 years ago

Pabloin commented 5 years ago

Login User Backend

TODO

DOING

DONE

Pabloin commented 5 years ago

image

Pabloin commented 5 years ago

TODO

DOING

DONE

NOTAS

Heroku cli y los logs

image

Save User:

image

image

Pabloin commented 5 years ago

JWT Session working:

Con sesion!

image

Sin Sesion:

image

Creacion de la Session:

image

Pabloin commented 5 years ago

Publicado en Heroku con JWT!

Tuve que hacer algunos Fixes en el PORT DE HEROKU:

// PEI: Heroku FIX
const port = normalizePort(process.env.PORT || config.api.port || '3000');

// const port = normalizePort(config.api.port || '3000');
app.set('port', port);

y en el Logger

production:
  <<: *defaults

  logger:
    name: Techu Open API Bank
    level: debug
    levels:
      trace:
      debug: STDOUT
      info: STDOUT
      warn: STDOUT
      error: STDOUT
      fatal: STDOUT

image