#Seeking node master who can guide me to connect an already made API to our web-application.

47 messages · Page 1 of 1 (latest)

analog breach
#

we've already built the frontend using next.

the API we are using is actually already made.

we can just generate it directly from the software.

novel lake
#

what are you stuck on right now?
if your API has been made, then well, you just have to call it

#

also, if you were assigned to the backend, then isn't this not really your concern? it'd be up to whoever's doing the frontend to utilize the backend's api

#

i don't really need this information, could you answer my questions?

analog breach
#

oh sorry, I have not made the server folder or the backend yet, i will yet to setup my local dev

novel lake
#

the API we are using is actually already made.
what did you mean by this then, exactly?

analog breach
novel lake
#

so you already have a backend?

#

give me a sec, im confused

analog breach
#

yes a backend has been already made and its a software. called exterro FTK enterprise

novel lake
#

so you have an external API, that you need to make a wrapper for, for your own application?

analog breach
#

our client wants us to use the softwares API and integrate that into our own web app

novel lake
#

why not just call that API directly from your frontend?

analog breach
#

hmm, but we will also require to authenticate the user, create own custom loggin using nextauth

novel lake
#

which part is the requirement here? both, or just the former?

#

does the external API have authentication?

analog breach
#

yes they have authentication, where they are required to login with their administrative accounts example their admin windows account.

#

not a thid party where they can use oauth

#

or register.

novel lake
analog breach
#

this kind of confuse me so, you mean no backend related will be happening nor a database.

#

that i will be creating?

#

anyways this is a valuable information, i will comeback here and provide a much more detailed description, after our meeting we will have to ask the full description

#

thank you sir

novel lake
#

my point is that it doesn't sound like you really need a separate backend

analog breach
#

hello sir

#

i followed the documentation but couldnt seem to POST

novel lake
#

well, check your console

#

check what the error message is

analog breach
novel lake
#

consider using http for localhost testing

analog breach
#

i seem to make it work and now return me a 201: Created

#

but it returned me a bunch of data

#

probably form the 3rd party api

#

what to do next? should i connect this to my next and see if i can create a case folder there?

novel lake
#

that's from the request with api in the path?

#

that shouldn't be returning html

analog breach
#

i tried to copy all the html returned

#

and heres what i get