Gilded Rose Innkeeper UI
Web UI for Gilded Rose Innkeeper, built with React.
Getting started
This application was bootstrapped with Create React App.
Dependencies
Before starting, install NodeJS and Yarn.
yarn
Installs this project's dependencies in the node_modules
folder.
Development
Note: Gilded Rose API must be available at http://localhost:8080/.
yarn start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Testing
yarn test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Building
REACT_APP_API_URL=http://localhost:8080 yarn build
Note: replace
http://localhost:8080
with the URL where the API is available in production, ex:/api
.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.