https://github.com/thomas-dev7/fastify-api-with-swagger
A self-documented API built with Fastify, TypeScript, Zod, and Swagger for efficient backend development and robust data validation.
https://github.com/thomas-dev7/fastify-api-with-swagger
Last synced: 12 months ago
JSON representation
A self-documented API built with Fastify, TypeScript, Zod, and Swagger for efficient backend development and robust data validation.
- Host: GitHub
- URL: https://github.com/thomas-dev7/fastify-api-with-swagger
- Owner: Thomas-DEV7
- Created: 2024-12-21T04:19:53.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-28T05:05:50.000Z (over 1 year ago)
- Last Synced: 2024-12-28T05:22:55.226Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://fastify-api-with-swagger.vercel.app
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# API Autodescritiva com Fastify, TypeScript, Zod e Swagger
Este projeto é uma API criada com **Fastify**, utilizando **TypeScript** para segurança e tipagem, **Zod** para validação e **Swagger** para documentação interativa. A API implementa endpoints para gerenciar usuários, com foco em validação de dados e documentação clara.
## 🛠️ Tecnologias Utilizadas
- **Fastify**: Framework rápido e eficiente para APIs.
- **TypeScript**: Adiciona tipagem estática e segurança ao desenvolvimento.
- **Zod**: Validação e geração de schemas.
- **Swagger**: Documentação interativa para APIs.
- **npm**: Gerenciamento de pacotes.
---
## 🚀 Instalação e Execução
### Pré-requisitos
- **Node.js** (v14 ou superior)
### Passos
1. Clone o repositório:
```bash
git clone https://github.com/Thomas-DEV7/fastify-api-with-swagger
cd api_with_swagger
npm install
npm run dev