Simple node api no framework using native node modules and using local json database
To test this project run:
npm run dev
GET http://localhost:3333/users
GET http://localhost:3000/users?search=${name}
Parameter | Type | Description |
---|---|---|
name |
string |
Mandatory. |
POST http://localhost:3333/users
{
"name": "Jonh Doe",
"email": "jomhdoe@gmail.com"
}
PUT http://localhost:3333/users/${ID-UUID}
{
"name": "Jonh Doe Doe",
"email": "jomhdoedoe@gmail.com"
}
Parameter | Type | Description |
---|---|---|
id |
string |
Mandatory. |
DELETE http://localhost:3333/users/${ID-UUID}
Parameter | Type | Description |
---|---|---|
id |
string |
Mandatory. |
- node version require > v16 (LTS)
Developed with ❤️ by Mussinady Abubacar