Skip to content

RESTAPIC v1.0

Choose a tag to compare

@matixandr matixandr released this 12 Dec 13:02
· 5 commits to master since this release

πŸš€ RESTAPIC v1.0

A lightweight REST API server written in C++ πŸ› οΈ

Build Status
License

✨ 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