Job Position: Full Stack Software Engineer
Candidate: Juan David Giraldo
# clone repo
$ git clone https://github.com/JuandGirald/flexhire-web
# change directory to cloned app
$ cd flexhire-web
# install project dependencies with yarn
$ npm install
# start development server
$ npm start
go to http://localhost:3000 in your prefered browser.
To run this app localy an .env
file on project root is required with following variables
REACT_APP_API_URL=http://localhost:4001/graphql
REACT_APP_CABLE_URL=ws://localhost:4001/cable
When you open the webapp on your browser a modal is displayed requesting your Flexhire API key, once you provide it, a first fetch to API will be done, and cable subscription as well.
In order to modify the API key you can open that model again using the
Authorize
button on top right corner of the app or just reloading the page
By default this repo is deployed on github pages use following command to trigger a deploy
npm run deploy