DEPRECATED Since v7.0.0 this repo has been deprecated and migrated into a new central repository (https://github.com/no10ds/rapid)
The rAPId service allows users to ingest, validate and query data via an API. This repo provides the user interface service for rAPId version >= 5.0
Since rAPId version 5.0 the user interface to interact with the API was seperated into it's own service. The user interface is compiled and built to static html files and hosted through a Cloud Delivery Network (CDN).
- Typescript
- NodeJs
- NextJs
This is a quick guide to running the rAPId UI locally for development. For greater details please see the Contributing README
Install all the required tools
- Node Version Manager (nvm)
- Install and use the required version of node
nvm use
Install the packages and pre-commit hooks.
- Install packages & husky
make npm-setup
Copy over the .env.example
file into a seperate .env.local
file and then populate the environment variable to point the api url to your current running rAPId api. To get authentication working you will need the relevant rat
cookie stored in the browser.
To run the app locally you can then run make dev
.
Use the below to proxy to a third party auth server
NEXT_PUBLIC_API_URL=/myapi
NEXT_PUBLIC_API_URL_PROXY=https://some-apiurl-from-another-server #optional for local development only