Skip to content

Frontend application

Belma Gutlic edited this page Mar 25, 2020 · 2 revisions

Frontend application is done in React using TypeScript Create React app (CRA).

Readme in Github repository contains necessary commands for development. Those are basically:

  • yarn start with live reload for development
  • yarn build for creating production build
  • yarn storybook for UI components development with Storybook

In case application needs to be ejected from CRA because other build tools and configuration choices are needed, it can be done using a one-way operation yarn eject. This command will remove the single build dependency from your project. Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Clone this wiki locally