Skip to content

Barsan1/QuickTestAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 QuickTestAPI

Fast dotnet API project with entity framework core.
Aim for fast testing queries with mssql DB

How to start :

✅ Clone the project to your machine

git clone https://github.com/Barsan1/QuickTestAPI.git

✅ Add your connection string in appsettings.json

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*",
  "ConnectionStrings": {
    "Mssql-TestDB": "<Enter connection string here>" // Connection string here
  }
}

✅ Update database migration script with CLI

# Navigate to API project 
cd  .\API\

# Run migration
dotnet ef database update -v

Run project (Press F5)

This will open swagger with 2 endpoints :

  1. Get all pepole from db
  2. Add generated pepole to db

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages