Create a new, using api?

Thanks but…
I have one that sends data to the api.
login, password, name, gender and email

this will all be received on the “/ people” route
already made the modification of the route and the file controllers / people.js

are not sure how to register the user “login & password” and then get the id and save people’s data “name, sex and email”
with this code that you passed, I don’t know how it will work …
thanks