⚠️ The CORS has been disabled by GOV site, so client-side API would fail, trying setting it up locally and replace the API end-points on client-side with the server-side function
- This website uses the end-point from gov site to take the data and show it in our custom UI.
- This is a custom setup of React using Webpack without any boilerplate
- This repo has implemented Service Worker on client side for cache, and apicache for server side caching
To serve static file from backend:
-
Install dependencies
- yarn install
- cd client/ && yarn install
-
In the root folder run:
node index.js
To serve with wepback:
- cd client && yarn start