This project is the “Web App” part of the Gowento Fullstack Developer Challenge.
It is a server providing a React web application, and was bootstrapped with Create React App.
The user interface leverages the Semantic UI framework.
This project uses NPM as a dependency manager.
To get started, you should first install all dependencies:
npm iTo run the HTTP server, use the start script, with all variables defined in .env.dist set. In particular, you must point REACT_APP_API_ORIGIN to the “API” server:
npm run startIn development mode, this will also cause a new navigator window or tab to open and/or focus on the web app.
The server listens on port 3000.
The Web App allows you to search for franchisee locations by postal code.
To run the linter against the standard ESLint config used in Gowento projects:
npm run lintTo run all tests:
npm run testTo build the HTTP server, use the start script, with all variables defined in .env.dist set. In particular, you must point REACT_APP_API_ORIGIN to the “API” server. The files in the build/ directory will be deployable:
npm run build