- The frontend be available in this repository
- The cloud infra be available in this repository
- Clone this repository
git clone https://github.com/vitor-msp/simple-bank-api.git
- Access the downloaded folder
cd simple-bank-api
- Restore the .NET dependencies
dotnet restore
- Run migrations
dotnet ef database update --project SimpleBankApi.Repository --connection "DataSource=../bank.db"
- Populate database
cat populate.sql | sqlite3 bank.db
- Run API
dotnet run --project SimpleBankApi.Api
- Access Swager URL
- The port 5000 in your machine must be free