Giter Site home page Giter Site logo

fields's Introduction

demo gif

Technical Information

This projects lets users to see and manage fields.

Maps

Leaflet is used for maps renderer. For drawing options using Leflet-Geoman plugin. The plugin is configured so it lets to draw polygons, to make holes in the polygons, to drag the points of the polygon.

Tests

The projects has pages with simple logic covered with Capybara tests, more complex logic covered with unit tests and some medium-complexity API logic covered with requests tests.

Project setup

The Docker/docker-compose versions were used to develop this project:

> docker --version
Docker version 24.0.2, build cb74dfc

> docker-compose --version
Docker Compose version v2.18.1

Run project locally

  1. Run this command:
docker-compose up
  1. Done. At this point you should be able to access the website locally at http://localhost:3000

Run tests

docker-compose run web rspec

⚠️ Known Issues

  • Once running tests, there will be lines like find: ‘/root/.config/chromium/Crash Reports/pending/’: No such file or directory. This is due to latest Chromium update and does not affect anything, so ignore it so far.
  • The area calculation is concerning, since it's probably very approximate. Related Stackoverflow discussion.

fields's People

Contributors

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