Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashu11-a/zig-rest-api

Basic implementation of a rest api with zig endpoints
https://github.com/ashu11-a/zig-rest-api

basic-api rest rest-api zap zig

Last synced: 18 days ago
JSON representation

Basic implementation of a rest api with zig endpoints

Awesome Lists containing this project

README

        

# Zig REST API

![license-info](https://img.shields.io/github/license/Ashu11-A/zig-rest-api?style=for-the-badge&colorA=302D41&colorB=f9e2af&logoColor=f9e2af)
![stars-infoa](https://img.shields.io/github/stars/Ashu11-A/zig-rest-api?colorA=302D41&colorB=f9e2af&style=for-the-badge)

![Last-Comitt](https://img.shields.io/github/last-commit/Ashu11-A/zig-rest-api?style=for-the-badge&colorA=302D41&colorB=b4befe)
![Comitts Year](https://img.shields.io/github/commit-activity/y/Ashu11-A/zig-rest-api?style=for-the-badge&colorA=302D41&colorB=f9e2af&logoColor=f9e2af)
![reposize-info](https://img.shields.io/github/repo-size/Ashu11-A/zig-rest-api?style=for-the-badge&colorA=302D41&colorB=90dceb)

## 📃 | Descrição

Este repositório contém uma API REST simples desenvolvida utilizando a linguagem **Zig**. A API tem como objetivo demonstrar o uso de Zig para criar um servidor HTTP básico com rotas e processamento de dados JSON. A API é projetada para ser eficiente e fácil de entender.

Funcionalidades:
- Criação de servidores HTTP.
- Manipulação de requisições e respostas JSON.
- Roteamento básico de endpoints.

Os endpoints são simples, mas demonstram a capacidade de Zig para criar servidores e manipular dados de maneira eficiente.

Gostou do projeto? Então, deixe uma 🌟 para ajudar no crescimento!

# Endpoints

### `GET /`

- **Resposta**:
- **Status**: 200 OK
- **Body**: `{"hello": "World!"}`