Giter Site home page Giter Site logo

sovosassessment's Introduction

SovosAssessment

SovosAssessment, .NET Core 7 ile yazılmış bir RESTful web API'dir. MySQL veritabanı kullanılarak yazılmıştır. Bu proje, ORM (Object Relational Mapping) olarak Entity Framework, Mail servisi için Google Gmail SMTP ayarları, Unit of Work Design Pattern ve Repository Design Pattern kullanmaktadır.

Gereksinimler

Bu projeyi çalıştırmak için aşağıdaki gereksinimleri karşılamalısınız:

  • .NET Core 7
  • MySQL veritabanı
  • Google Gmail SMTP ayarları
  • İnternet bağlantısı

Kurulum

  1. Öncelikle, projeyi klonlayın veya indirin:
git clone <https://github.com/MelihVarilci/SovosAssessment.git>
  1. appsettings.json dosyasını açın ve veritabanı bağlantı dizesini, Gmail SMTP ayarlarını ve hangfire tetiklenmesi neticesinde mail gönderilecek mail sabitini güncelleyin:
"ConnectionStrings": {
"DefaultConnection": "server=localhost;database=SovosAssessment;user=root;password=123456"
},
"EmailSettings": {
"From": "[email protected]",
"Host": "smtp.gmail.com",
`"Port": 587,
"UserName": "[email protected]",
"Password": "yourpassword"
}
"MailAddressToSend": "[email protected]",
  1. Veritabanı oluşturmak için Default Project: “SovosAssessment.Infrastructure” katmanını ayarlayın ve aşağıdaki komutları çalıştırın:
dotnet ef migrations add InitialMigration

dotnet ef database update

ya da

add-migration “InitialMigration”

update-database
  1. Projeyi başlatmak için “SovosAssessment.WebAPI" katmanını Set as Startup Project olarak ayarlayın ve çalıştırın. Veya, Visual Studio kullanmıyorsanız aşağıdaki kodu çalıştırın.
dotnet run

Kullanım

SovosAssessment, aşağıdaki özellikleri sunmaktadır:

  • CRUD işlemleri için RESTful API
  • Fatura oluşturma, güncelleme, silme ve listeleme
  • Yeni fatura kaydı olduğunda e-posta bildirimi gönderme

API'yi test etmek için, bir REST istemcisi kullanabilirsiniz. Örneğin, Postman kullanabilirsiniz.

Katkıda Bulunma

Eğer projede bir hata bulursanız veya önerileriniz varsa, lütfen yeni bir konu açın veya bir pull isteği gönderin.

sovosassessment's People

Contributors

melihvarilci avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.