https://github.com/ranskyth/alunoapi
API para cadastro e gerenciamento de informações de alunos.
https://github.com/ranskyth/alunoapi
api api-rest asp-net-core-web-api docker docker-compose ef-core efcore entity-framework-core postgresql webapi
Last synced: about 2 months ago
JSON representation
API para cadastro e gerenciamento de informações de alunos.
- Host: GitHub
- URL: https://github.com/ranskyth/alunoapi
- Owner: Ranskyth
- Created: 2024-12-03T03:12:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-16T23:05:45.000Z (about 1 year ago)
- Last Synced: 2025-07-30T15:23:59.450Z (11 months ago)
- Topics: api, api-rest, asp-net-core-web-api, docker, docker-compose, ef-core, efcore, entity-framework-core, postgresql, webapi
- Language: C#
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AlunoAPI
AlunoAPI é uma API para cadastro e gerenciamento de informações de alunos.
## Funcionalidades
- [x] Cadastro de Aluno
- [x] Consulta de Aluno Por ID e Nome
- [x] Atualizar Aluno Pelo ID
- [x] Deleta Por ID do aluno
## Documentação da API
#### Rota Padrão do Swagger
```
GET /swagger/index.html
```
#### Retorna todos os Alunos
```
GET /api/v1/aluno/
```
#### Retorna um Aluno pelo id
```
GET /api/v1/aluno/{id}/id
```
#### Retorna um Aluno pelo Nome
```
GET /api/v1/aluno/{nome}/nome
```
#### Criar Um Aluno
```
POST /api/v1/aluno/
```
#### Atualizar Aluno Pelo id
```
PUT /api/v1/aluno/{id}/id
```
#### Deleta Aluno Pelo id
```
DELETE /api/v1/aluno/{id}/id
```
## Rodando localmente
#### Clone o projeto
```bash
git clone https://github.com/Ranskyth/AlunoAPI
```
#### Entre no diretório do projeto
```bash
cd AlunoAPI
```
#### Instale as dependências
```bash
dotnet restore
```
#### Inicia a Aplicação
```bash
dotnet watch run
```
## Stack utilizada
- Asp.Net Core
- Docker
- Postgres
- Entity Framework Core
- Swagger