DiptoChakrabarty / api-gateway-kong-golang

API Gateway developed using kong , golang and python services for a authentication and operations service where golang service acts as authentication mechanism and python service is backend and kong is gateway
MIT License
6 stars 4 forks source link

Endpoint to register users in golang service #18

Open DiptoChakrabarty opened 1 year ago

DiptoChakrabarty commented 1 year ago

We do not have an endpoint to register new users , we are directly providing functionality to login users

It would be good to have a register endpoint which takes in users username/email and password and stores it in a database

Related to #17

aks3213 commented 1 year ago

Hello there, I would like to take up this if it is okay.

DiptoChakrabarty commented 1 year ago

please go ahead @aks3213

aks3213 commented 1 year ago

Hello @DiptoChakrabarty , I am trying to set up the project in my local. I getting this error when running docker. Which IP address do I have to configure in the kong yaml file? I am specifying IP4 address got from ipconfig command. image

DiptoChakrabarty commented 1 year ago

you have to replace it here https://github.com/DiptoChakrabarty/api-gateway-kong-golang/blob/de44c10cdeccd8f12186726e30c4944994e895f3/kong-gateway/docker-compose.yaml#L72

DiptoChakrabarty commented 1 year ago

for the golang development part you can just run the golang file

go run main.go

this will start the golang api in which development can be done , kong is just for redirection for which config has to be edited post that