Invoices Web Client
A React web client for invoices.
Clone this repo and run
npm install to install the required dependencies.
Run the fake backend server.
cd fake-backend-server npm install npm start
Run the app in development mode (from the root directory).
Open http://localhost:3004 to view it in the browser.
The page will reload if you make edits and the redux dev tools browser extension can be used to debug the redux state.
Serving in production with NGINX and Docker
Make sure the invoices backend server is up and running.
Build the app for production.
npm run build
The build is minified and the assets include the hashes.
Create the docker image.
docker build --tag invoices .
Run the app with it.
docker run --name invoices -p 80:80 -v $(pwd)/public:/usr/share/nginx/html:ro -d invoices
Open http://localhost to view it in the browser.
Run all tests.
MIT license. See the LICENSE file for details.