Coder Social home page Coder Social logo

gateway-web's Introduction

LICENCE Support

HDR UK GATEWAY - Frontend (ReactJS)

This is a React Application, which provides the Front End to the Gateway. It uses axios to perform XMLHttpRequests from the browser to negotiate with the Gateway's Back-end API server gateway-api for all user interactions with the Gateway resources.

Installation / Running Instructions

To set up the API on your local do the following steps

Step 1

Clone the WEB repository.

git clone https://github.com/HDRUK/gateway-web

Step 2

Run the npm install and add axios module via command line.

npm install
npm i -S axios

Step 3

Start the WEB via command line.

npm start

Configuring vscode

  1. Go to File > Preferences > Settings
  2. On your right-hand side, there is an icon to Open Settings in JSON format. Click on that icon
  3. Add below JSON code there
{
  "editor.codeActionsOnSave": { "source.fixAll.eslint": true },
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "eslint.alwaysShowStatus": true,
  "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
  "security.workspace.trust.untrustedFiles": "open"
}

.env

Skip preflight check needs to be true due to conflict with babel loader versions between storybook and react-scripts. Please create your own .env file with the following content:

SKIP_PREFLIGHT_CHECK=true
REACT_APP_API_VERSION=v1

gateway-web's People

Contributors

ahdabnasirpa avatar alexpowerpa avatar cdjreekie avatar ciarawardpa avatar cmarkspa avatar gk230 avatar kandaj avatar kymmeh avatar lewiskearseypa avatar massimocianfroccapa avatar paulmccaffertypa avatar pawilliams-hdr avatar priteshbhole avatar reubensamuel avatar richardhobbspa avatar robinkavpa avatar sikenyonhdruk avatar snyk-bot avatar susheel avatar thinkingmonkeyltd avatar tonyespley-pa avatar ummagohilpa 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.