Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

ministryofjustice/rot-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Register of Technology Services

Frontend application built in ES6 using the Redux framework with Reactjs.

Dependencies

Installation

Install dependencies:

npm install

Develop

Start mock json server:

npm run mock-server

Start the web server:

npm start

If run from a web server in the cloud, e.g. AWS:

REACT_APP_API_URL=http://${server-ip-address}:3001 npm start

Build and Deploy

Build

REACT_APP_API_URL=http://${server-ip-address}:3001 npm run build

This will result in a directory build

Serve

npm run serve

The default port is 3000. To override it:

PORT=8000 npm run serve