Code Monkey home page Code Monkey logo

enquiry-handler's People

Watchers

 avatar  avatar

enquiry-handler's Issues

Update token claim URL to fit with SPA design

UI is now a SPA design so has a single index.html. React Routes are used to render pages based on the path, so there are no longer any additional .html pages.

Modify the token claim re-directs to paths instead of .html files

Allow newly registered visitors to claim their free token

Add an additional 'token claimed' field to record the fact.

Serve a page with a 'Claim' button that updates this field.

When 'Claim' is clicked, call a REST service, passing the the users e-mail address and update the 'token claimed' field and report back to the user.

Migrate to Docker

Move out of Tomcat container so it can be deployed and managed by Docker.

Accept CORS requests from a different domain

Support changes to remove reverse proxy config from NGINX.

Kubernetes Ingress will route requests to www. to NGINX to serve static HTML, and route api./ requests to the relevant backend service (i.e, this one).

The origin will be www and should be allowed. We also must redirect to the web URL when free tokens are claimed.

Consolidate configuration

Consolidate configuration that's spread out across applications and in the wrong places.

Only properties that need setting before Spring starts should go in Dockerfile

Compile time properties that are hard-coded or have values that reference environment variables should go in application.properties.

Configuration that could be modified between deployments whose values are not part of the common environment should go in the 'additional' application.properties.

Migrate to Axon

Migrate to latest clubbed-modules to take advantage of Axon and remove dependence on clubbed-notifications. Allows the service to deal purely with the domain model changes, and for external services to raise mail notifications

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.