Giter Club home page Giter Club logo

quakes's Introduction

About

This repo contains my engineering thesis. Graduated in January 2023 with engineer's (bachelor's) degree. AGH UST.

Project overview

Quakes is a web-based system for the acquisition, processing, and visualisation of geodata containing location and earthquake parameter information. System is based on a microservices architecture and the system's components are containerized using Docker software.

Backend was created using Django with DjangoRestFramework for the REST API. Python was used to develop a module for exporting and processing data taken from USGS and GRSS.

Frontend is a WebGIS application implemented using React and Leaflet for mapping.

name name

Data sources

Data comes from two sources:

data_fetchers python module was implemented to obtain data from sources.

  • USGSQuakesExporter and USGSFetcher - API wrappers to get historical data and data from last month (updating)
  • GRSSFetcher - web scrapper

How to run this project

Clone this repo

git clone https://github.com/kerness/quakes.git
cd quakes

Create the .env file based on .env.example

POSTGRES_USER=pguser
POSTGRES_PASS=pgpass
POSTGRES_DBNAME=quakes
PG_HOST=db
PG_PORT=5432
SECRET_KEY=<provide django secret key>
DEBUG=TRUE
ALLOWED_HOSTS=<eg: localhost 127.0.0.1 [::1]>

Build the containers

make build

Create migrations

make makemigrations

Migrate

make migrate

Load recent USGS and GRSS data

make lUSGS && make lGRSS

Open web browser and go to localhost:8080

quakes's People

Contributors

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