Skip to content

Releases: matixandr/RESTAPIC

RESTAPIC v1.1

13 Dec 08:27
Compare
Choose a tag to compare

RESTAPIC

An simple REST API in C.

New Features and Changes

Commits included in this release:

  • Zmniejszyłem troche testów + poprawki w kodzie (commit)
  • Dodano dużo testów chyba (commit)
  • Mała zmiana w logach w Makefile i README.md (commit)
  • Mała poprawka w test_framework.h (commit)
  • Update do README.md (commit)
  • Usunięto windows 7 (commit)
  • Rozszerzono testy o więcej wersji windowsa (commit)
  • Usunięto build-linux bo to jest jak narazie tylko na windows i poprawiono test_framework.h (commit)
  • Nowy workflow do intergration i unity testów (commit)
  • Kolejna zmiana (make clean nie działa) (commit)

RESTAPIC v1.0

12 Dec 13:02
Compare
Choose a tag to compare

🚀 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