Skip to content

Made with ASP.NET, FluentAPI to manage a SQL database and layers architecture.

License

Notifications You must be signed in to change notification settings

anibalventura/pokedex-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokedex Web

.NET Core License

Made with ASP.NET, FluentAPI to manage a SQL database and layers architecture.

Features

  • Data persistence with SQL Server.
  • Home page to see all the Pokemons created.
  • Filter Pokemons in home page by name and region.
  • Pokemons, Regions and Types maintenance pages to perform CRUD operations.
  • Form validations.

Technologies

Dependencies

Build

  1. Create a SQL Server database.

  2. Open solution in Visual Studio and edit the ConnectionStrings section on appsettings.json in PokedexWebApp layer.

"ConnectionStrings": {
    "DefaultConnection": "Server=localhost,PortNumber;Database=DatabaseName;User=DatabaseUser;Password=DatabasePassword;Trusted_Connection=false;MultipleActiveResultSets=true"
  }
  1. Run migrations.
  • On Windows: Open Package Console and run:
Add-Migration "First migration"
Update-Database
dotnet ef --startup-project ./PokedexWebApp/ migrations add Initial
dotnet ef --startup-project ./PokedexWebApp/ database update
  1. Run the project.

License

MIT License

Copyright (c) 2022 Anibal Ventura