Purpose of this project was build a simple users API in a different way we see all time in nodeJS ecosystem, usually using Express, Adonis, Hapi...
I used just the native modules of nodeJS and a JSON file as DataBank, that is managed using node fs
git clone https://github.com/NathanCotrim/NodeJS-API.git
or - (GitHub CLI)
gh repo clone NathanCotrim/NodeJS-API
node src/server.js
{
"name": "Tester",
"email": "tester.test@domain.com"
}
{
"name": "TesterUpdated", (?)
"email": "testerUpdated.test@domain.com" (?)
}
curl ${url} -X ${method}
- NodeJs - Server Environment