Giter Club home page Giter Club logo

spring-security-turkce's Introduction

Spring Security Türkçe

Merhaba! Bu proje jwt token ile spring security uygulamasının nasıl hazırlanacağı hususunda türkçe kaynak oluşturmak amacı ile hazırlanmıştır. Kod içerisinde Java'da hiç bir kodun sihirli olmadığını anlatmak için bol bol yorum satırı girmeye ve bu yorum satırları içerisinde ilgili konulara referans vermeye çalıştım. Anlaşımayan bir nokta olması halinde issue açabilir ve bu issue üzerinden tartışarak birbirimize bir şeyler katabiliriz.

Kurulum

Kurulum için gerekli araçlar:

  • OpenJDK 8 veya üzeri bir sürüm.
  • Bunun dışında projeyi yerele çekebilmek için Git kullanılabilir. Eğer git kurmak istemezseniz Github arayüzü üzerinden proje dosyalarını indirebilirsiniz.

Kurulum Adımları:

  • Github repositorysi yerele çekilir.
  • Projenin root dizininde terminal aracılığı ile ./mvnw spring-boot:run komutu çalıştırılır.

Kullanım

Kullanım için tavsiye edilen araçlar:

Jmeter için hazırlanmış testler uygulama içerisinde func_test.jmx adı ile bulunmaktadır. Bu dosyayı yukarıda bulunan link aracılığıyla kurduğunuz jmeter ile açarak testleri yapabilirsiniz. Bunun dışında farklı bir metod ile kullanmak isterseniz aşağıda bulunan adımları uygulamanız gerekmektedir.

  • /auth/signup endpointine request body içerisinde aşağıdaki gibi bir JSON gönderilmelidir.
{
"username":"ornek_username",
"password":"ornek_password"
}
  • /auth/login endpointine request body içerisinde /auth/signup da göndermiş olduğunuz username ve password bilgilerini aşağıdaki gibi bir JSON ile göndermeniz gerekmektedir.
{
"username":"ornek_username",
"password":"ornek_password"
}
  • Yukarıda bulunan adımları sorunsuz tamamlamanız halinde /healthCheck endpointine atacağınız bir GET isteğine 200 http durum kodu ile OK cevabını almalısınız.

Katılım

Şu kısım daha güzel yazılabilirdi, şuraya şu şekilde bir yorum satırı eklenebilir gibi fikirleriniz için Pull Request gönderebilirsiniz.

Lisans

GPL v3 - Türkçe Lisans Metni

spring-security-turkce's People

Contributors

burakkggul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

spring-security-turkce's Issues

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.