Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ashu11-a/zig-rest-api
- Owner: Ashu11-A
- License: agpl-3.0
- Created: 2024-11-22T18:50:21.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-23T02:57:50.000Z (3 months ago)
- Last Synced: 2024-11-23T03:27:46.110Z (3 months ago)
- Topics: basic-api, rest, rest-api, zap, zig
- Language: Zig
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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!"}`