Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@gowento/full-stack-developer-challenge-web-app

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.

Getting started

This project uses NPM as a dependency manager.

To get started, you should first install all dependencies:

npm i

Usage

To 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 start

In 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.

Features

The Web App allows you to search for franchisee locations by postal code.

Development

To run the linter against the standard ESLint config used in Gowento projects:

npm run lint

To run all tests:

npm run test

Build and Deployment

To 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