Web UI for Gilded Rose Visitor, built with React.
This application is built with Next.js.
Before starting, install NodeJS and Yarn.
yarn
Installs this project's dependencies in the node_modules
folder.
Note: Gilded Rose API must be available at http://localhost:8080/.
yarn dev
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.
yarn test --watch
Launches the test runner in the interactive watch mode.
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 .next
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!