Coder Social home page Coder Social logo

provincie-zuid-holland / omgevingsbeleid-api Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 4.0 8.18 MB

Omgevingsbeleid API was originally created in early 2018 in order to meet the requirements given by the new 'Omgevingswet' from the dutch national government.

Home Page: https://www.zuid-holland.nl/

License: European Union Public License 1.2

Python 99.40% Makefile 0.22% Dockerfile 0.08% Shell 0.03% TSQL 0.02% Mako 0.07% Jinja 0.18%
flask government omgevingswet policy policy-making python sqlalchemy

omgevingsbeleid-api's People

Contributors

a-wiseguy avatar aidenbuis avatar dependabot[bot] avatar ericherman avatar jordymoos avatar kingmar1 avatar swendude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

omgevingsbeleid-api's Issues

Separate requirements file for dev and prod

We are adding a lot of python dependencies which are only needed in local dev and tests environment.
We could be splitting the requirements.txt file into a prod and dev specific file, in which the dev file includes the prod file and adds additional dev/test dependencies (like test tooling)

This way there will be less dependencies installed on the production environment.

Downside is that you no longer can use pip freeze to a requirements file because you have more then one.

See this link for an example configuration:
https://stackoverflow.com/questions/17803829/how-to-customize-a-requirements-txt-for-multiple-environments

Cannot install requirements due to conflicting dependencies

When installing the requirements via pip install -r requirements.txt, the following error is raised:

ERROR: Cannot install -r requirements.txt (line 54) and urllib3==1.26.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested urllib3==1.26.5
    requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1

Is there a sample database?

The API needs a database to fetch the asked for data. A description of which tables, columns and types are needed, would be welcome. This may be in the form of a sample database, or in the form of a ddl script

Lower JWT lifetime, add support for refresh token

Lifetime is a bit too high for my take, its 4 hours while 20 minutes seems the default.
To lower the lifetime we should add a refresh token which will refresh the lifetime when it gets "close" to expiration

Afbreekverzoek

  • Moet eigenlijk alleen kunnen:
    • Voor de laatste state change versie
    • Wanneer die "package" nog niet bekend is
  • Moet ook de state terug sturen waar nodig

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.