tyba-test-nodejs

Docker configuration

docker-compose build api
docker-compose up

END POINTS OF API

  1. http://localhost:3000/login
  2. http://localhost:3000/signup
  3. http://localhost:3000/transaction

PAYLOAD END POINTS

End point: http://localhost:3000/login

Method: POST

Payload:

{
  "email": "{{email}}",
  "password": "{{password}}"
}

End point: http://localhost:3000/signup

Method: POST

Payload:

{
  "user": {
    "email": "{{email}}",
    "password": "{{password}}",
    "name": "{{name}}"
  }
}

End point: http://localhost:3000/transaction

Method: POST

Headers: token

Payload:

{
  "lat": "{{latitude}}",
  "lng": "{{longitude}}"
}

End point: http://localhost:3000/transaction

Method: GET

Headers: token

Hecho con ❤️ por Rubén Carrascal