Code Monkey home page Code Monkey logo

nhs.admin.web's Introduction

National Health Service administration portal

Build Status code style: prettier

Demo (dev): http://admin-dev.ehealth.world/

API: edenlabllc/ehealth.api

Installation

Heroku One-Click Deployment

Deploy

Docker

Dashboard can be deployed as a single container from edenlabllc/nhs.admin.web Docker Hub.

Configurations

Application supports these environment variables:

Environment Variable Default Value Description
PORT 8080 Node.js server port.
API_HOST http://api.dev.asclepius.com.ua Ehealth API host.
SITEMAP_HOSTNAME http://localhost:8080 URL will be used in sitemap generated urls
LANG_COOKIE_NAME lang Name of the cookie, where storing language variable
AUTH_COOKIE_NAME token Name of the cookie, where storing token variable
CLIENT_ID e32e51ac-f720-4e42-adb3-67d504f3ad30 Front-End client id
CLIENT_SECRET ZzluaHd0V01lU1IwTnd4VkdBcUZHUT09 Front-End client secret
SCOPES app:authorize legal_entity:read EHEALTH auth scopes
OAUTH_URL http://auth.dev.asclepius.com.ua/sign-in Front-End client id
OAUTH_REDIRECT_PATH /auth/redirect Redirect path for create token in EHEALTH

Technologies

  • React
  • Redux
  • Webpack
  • Enzyme
  • Jest
  • Puppeteer

Git flow

Every task should start a new branch. Branch should be named as task number what its corresponding. After finish work on a task, you need to create PR.

Testing

To contribute to the repository be ready to write some tests.

  • Unit tests for business logic (we use Jest)
  • Integration tests for UI components (we use Enzyme)
  • Acceptance tests for user stories (we use Puppeteer)

PR

Every task finishes with PR. Prettier lint check and tests are blocking PRs. To simplify PR review, we deploy every PR's branch automatically on Heroku.

License

See LICENSE.md.

nhs.admin.web's People

Contributors

alexeybondarenko avatar andriy-ilin avatar burlachenkovv avatar ephor avatar ivchenkodima avatar kiurchv avatar lehamotovilov avatar satanpit avatar troush avatar vsirius avatar ynotleft avatar

Stargazers

 avatar

Watchers

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