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

https://github.com/lavianii/todolist

Desafio TodoList treinamento em .NET
https://github.com/lavianii/todolist

asp-net csharp dotnet

Last synced: about 2 months ago
JSON representation

Desafio TodoList treinamento em .NET

Awesome Lists containing this project

README

          

# TodoList API

## Imagens do Projeto funcionando
### Console
![Alt text](image-1.png)

### API Swagger
![Alt text](image.png)

## 📖 Sobre o projeto

O TodoList é um CRUD(Create, Read, Update, Delete), foi uma atividade de um Treinamento do universo .NET, e está aplicação,utiliza as tecnologias .NET 8, SQLite e Entity Framework Core.

## 🧱 Tecnologias

- [.NET 8](https://dotnet.microsoft.com/pt-br/download/dotnet/8.0)
- [SQLite](https://www.sqlite.org/index.html)
- [Entity Framework Core](https://github.com/dotnet/efcore)

## 🚶‍♂️ Como instalar e utilizar

1. Clonar o Repositório
2. Entrar na pasta do projeto `cd TodoList`
3. Instalar o Entity Framework Core `dotnet tool install --global dotnet-ef`
> Se esta for a primeira vez que você executa o projeto, execute migration para ATUALIZAR o banco de dados
>>Faça isso na pasta TodoList
```bash
dotnet ef migrations add MigraçãoInicial --startup-project .\TodoList.Api\TodoList.Api.csproj --project .\TodoList.Core\TodoList.Core.csproj

dotnet ef database update --startup-project .\TodoList.Api\TodoList.Api.csproj --project .\TodoList.Core\TodoList.Core.csproj

```
4. Compilar API
```bash
cd TodoList.Api
dotnet run
```
5. Executar o console
```bash
cd TodoList.Console
dotnet run
```