Skip to content

Latest commit

 

History

History
64 lines (60 loc) · 1.72 KB

README.md

File metadata and controls

64 lines (60 loc) · 1.72 KB

📃 Random Person Info GET API

Small API for generating random user data.

▶️ How to Run

  1. Execute the script from Database.sql in MSSQL.
  2. Change "ConnectionString": "" in the appsettings.json file.

ConnectionString

  1. (optional) Install and use HttpRepl
dotnet tool install -g Microsoft.dotnet-httprepl
dotnet run --urls=https://localhost:PORT

🎊 Examples

[
  {
    "lastName": "Нечаев",
    "firstName": "Клим",
    "middleName": "Порфириевич",
    "gender": "Мужской",
    "birthdate": "27.08.1957",
    "phoneNumber": "+79564001617",
    "email": "nechaev_9512@bk.ru",
    "adress": {
      "city": "Нахичевань",
      "region": "Калмыкия",
      "country": "Россия"
    }
  },
  {
    "lastName": "Гончаров",
    "firstName": "Климентий",
    "middleName": "Станиславович",
    "gender": "Мужской",
    "birthdate": "18.01.1945",
    "phoneNumber": "+79514198048",
    "email": "goncharov51@ya.ru",
    "adress": {
      "city": "Джеймстаун",
      "region": "Bistrita-Nasaud",
      "country": "Румыния"
    }
  },
  {
    "lastName": "Акимов",
    "firstName": "Фадей",
    "middleName": "Андрониевич",
    "gender": "Мужской",
    "birthdate": "30.04.1989",
    "phoneNumber": "+79754639074",
    "email": "akimov_4199@outlook.com",
    "adress": {
      "city": "Baexem",
      "region": "Нарынская обл.",
      "country": "Кыргызстан"
    }
  }
]