This is a simple web application built with Fiber, a web framework for Go. The application provides a basic RESTful API to manage users.
- Go (1.20 or later)
- Fiber framework
The following API endpoints are available:
curl -X GET http://localhost:3000/users
curl -X POST http://localhost:3000/users \
-H "Content-Type: application/json" \
-d '{"id": "3", "name": "Ali", "age": 28}'
curl -X PUT http://localhost:3000/users/3 \
-H "Content-Type: application/json" \
-d '{"name": "Ali", "age": 29}'
curl -X DELETE http://localhost:3000/users/3