Coder Social home page Coder Social logo

gis-werk's Introduction

Gis-werk

Gis-werk or geoProject is a Django website for ingesting and showing municipality data.

Installation

You can use a make command to install the project, it requires docker and docker compose and goes like this:

make start-project

Usage

The project can do a few things:

Ingest data

make import-data

After this you can see the data, either in the API, visually exposed via swagger at: http://127.0.0.1:8000/api/schema/swagger-ui/. Where after creating a token for your given user, which you can create via make create-superuser you can use the endpoints. Or by looking at the admin at http://127.0.0.1:8000/admin

Contributing

You can contribute to the repo by pushing changes, make sure you install pre-commit first via pipx or other means to run the linting suite. Also make sure your tests run via make run-tests

Things that were skipped

Given the interest of time I skipped a few things along the lines, that I would normally include in a project:

  • Error handling, most of the code assumes everything is input properly, if a file is not found for the ingest the error message is not great for example.
  • Negative tests, currently I only tested happy paths but it's vital that you also test what happens when non normal things occur
  • CI, I've come to learn from experience that just having an easily installable set of linting rules still might get skipped by some devs. So CI to make sure these rules are ran is vital.
  • Factories for data generation. Very useful for testing, but due to limited amount I did, not needed.

gis-werk's People

Watchers

Antoine van der Horst 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.