RESTAPIC v1.0
π RESTAPIC v1.0
A lightweight REST API server written in C++ π οΈ
β¨ Features
- π HTTP server listening on port 8888
- π₯ Complete CRUD operations for user management
- π Supports HTTP methods: GET, POST, PUT, PATCH, DELETE
- π¦ JSON communication format
- β Integrated testing framework
π£οΈ API Endpoints
- π
GET /users- List all users - π€
GET /users/{id}- Get user details - β
POST /users- Create new user - π
PUT /users/{id}- Full user update - π
PATCH /users/{id}- Partial user update - β
DELETE /users/{id}- Delete user
π§ System Requirements
- π» Windows OS
- βοΈ G++ Compiler
- π οΈ Make
π§ͺ Testing
Run tests using the following commands:
- Unit tests:
./restapic.exe --test u - Integration tests:
./restapic.exe --test i