Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

26 Commits

Repository files navigation

Node API

Simple node api no framework using native node modules and using local json database

Reference

API Documentation

To test this project run:

npm run dev

Return all users

GET http://localhost:3333/users

Return filtered user

GET http://localhost:3000/users?search=${name}

ParameterTypeDescription
namestringMandatory.

Create new user

POST http://localhost:3333/users

 {
"name": "Jonh Doe",
"email": "jomhdoe@gmail.com"
}

Update user

PUT http://localhost:3333/users/${ID-UUID}

 {
"name": "Jonh Doe Doe",
"email": "jomhdoedoe@gmail.com"
}
ParameterTypeDescription
idstringMandatory.

Delete user

DELETE http://localhost:3333/users/${ID-UUID}

ParameterTypeDescription
idstringMandatory.

Appendix

  • node version require > v16 (LTS)

Autor

Tags

MIT License

Demonstration

Developed with ❤️ by Mussinady Abubacar

About

Simple node api no framework using native node modules and using local database

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages