Skip to content

muriloolegini/SuperHeroAPI

Repository files navigation

🚧 Project under construction... 🚧

API for Creating New Super Heroes

Project Description

🧑‍💻 Technologies and practices used

  • ASP.NET Core with .NET 6
  • Entity Framework Core
  • SQL Server
  • Swagger
  • Dependency Injection
  • Object-Oriented Programming

⚙️ Features

  • Create Super Hero ✅
  • Get Super Hero ✅
  • Upgrade Super Hero ✅
  • Delete Super Hero ✅

⏱️ Run the Project

  • Requirements

    • Before you start, you need to have installed the tool on your machine Git. Besides, it's good to have a code editor to work as VSCode.

Installation and Access to the Project

  1. You must install the .NET 6 SDK
$ dotnet tool install --global dotnet-ef
  1. Accessing the project
# Clone this repository
$ git clone https://github.com/muriloolegini/SuperHeroAPI

# Access the project folder on your terminal/cmd
$ cd C:\user\...

# Install or update dependencies
$ dotnet add package Microsoft.EntityFrameworkCore.Design --version 6.0.10
$ dotnet add package Microsoft.EntityFrameworkCore.SqlServer --version 6.0.10
  1. Change the file "appsettings.Development", adding the data from your local bank (Must be SQL Server, I recommend using SQL per-user authentication, if you use windows authentication, need to change the connection data)
# Add a migration. Example:
$ dotnet-ef migrations add CreateSuperHeroTable

# Update migration
$ dotnet-ef database update

# Run the application in development mode
$ dotnet watch run

Project Status

🚀 Skills used


Author


🌐 Contact

About

API for Creating New Super Heroes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages