Git Product home page Git Product logo

earthquake-app's Introduction

Deprem Uygulaması

Bu uygulamabasit bir panel içerisinde, dünya haritası üzerinde anormal depremleri gösterebilecek bir web uygulamasıdır. Meydana gelen depremler harita üzerinde işaretlenmektedir. Projenin test edilmesi için 2 farklı script dosyası yer almaktadır. Proje Spring Boot ile geliştirilmiş olup ön yüzü ise React ile geliştirilmiştir. Veritabanı olarak MongoDb kullanılmıştır.

Proje Kurulumu

Adım 1: Projeyi öncelikle git clone komutu yardımıyla bilgisayarınızda yerel bir dosyanın içerisine çekiniz.

Adım 2: Projenin backend'ini kurmak için yerel dosyaların içinde yer alan /earthquake-be dosyasına cmd üzerinden gidiniz. Ardından docker-compose up -d komutunu çalıştırınız.

❗Docker üzerinden konteynırları ayağa kaldırmadan önce bilgisayarınızda yer alan Docker Desktop uygulamasının açık olduğundan emin olunuz.

Adım 3: Projenin frontend'ini ayağa kaldırmak için projenin yer aldığı ana dizinden /earthquake-fe/earthquakeApp dosyasına cmd üzerinden gidiniz. Ardından npm start komutu ile projeyi localhost:3000 portu üzerinden ayağa kaldırınız.

Adım 4: Projenin docker üzerindeki backend ve veri tabanının ayağa kalktığından emin olduktan sonra projedeki scriptler ile projeyi test edebilirsiniz. Test etmek için /earthquake-scripts klasörüne cmd üzerinden gidiniz. Sonrasında istediğiniz scripti python script-adi olarak çalıştırınız.

Proje Hakkında

Projede yer alan endpointler şunlardır;

GET /earthquake -> Tüm depremleri getirir.

GET /earthquake/{id} -> Id'si gönderilen depremi getirir.

POST /earthquake -> Deprem oluşturur.

DELETE /earthquake/{id} -> Id'si gönderilen depremi siler.

Projeden Alıntılar

image

image

earthquake-app's People

Contributors

dcankayrak 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.