Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

This project is API of Aktuel Listesi Mobile App. Developed by ASP.NET Core Web API, EF Core 2.0, Azure Storage, Cognitive Services and Azure Functions

License

Notifications You must be signed in to change notification settings

peacecwz-archive/market-catalog-api

Repository files navigation

Aktuel Listesi API

This project is API of Aktuel Listesi Mobile App. Developed by ASP.NET Core Web API, EF Core 2.0, Azure Storage, Cognitive Services and Azure Functions

Deploy to Azure

Build status

Getting Started

First of all, you need to clone the project to your local machine

git clone https://github.com/peacecwz/aktuel-listesi.git
cd aktuel-listesi

Building

A step by step series of building that project

  1. Restore the project 🔨
dotnet restore
  1. Create appsettings.Development.json into AktuelListesi.API Project (Copy appsettings.json to appsettings.Development.json for Development Stage)

  2. Change connection string of Database (File: appsettings.Development.json, Line: 13)

  3. If you want to use change Database Provider to MS SQL, MySQL etc... You can change on Startup.cs File (Line: 58)

    //For Microsoft SQL Server
    services.AddDbContext<AktuelDbContext>(options => options.UseSqlServer(Configuration.GetConnectionString("AktuelDbConnection"), opt => opt.MigrationsAssembly("AktuelListesi.API")), contextLifetime: ServiceLifetime.Singleton, optionsLifetime: ServiceLifetime.Singleton);
  1. Run EF Core Migrations
dotnet ef database update
  1. Fill Azure Cognitive Services Url and keys in appsettings.Development.json

  2. Fill Azure Storage Account name and Key in appsettings.Development.json

  3. Run the project and Enjoy! 💣

dotnet run

Demo

You can try it on Swagger UI. 🔫

Find source code of Aktuel Listesi mobile ppp

Built With

Contributing

  • If you want to contribute to codes, create pull request
  • If you find any bugs or error, create an issue

License

This project is licensed under the MIT License

About

This project is API of Aktuel Listesi Mobile App. Developed by ASP.NET Core Web API, EF Core 2.0, Azure Storage, Cognitive Services and Azure Functions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages