Skip to content

Latest commit

 

History

History
75 lines (48 loc) · 1.27 KB

README.md

File metadata and controls

75 lines (48 loc) · 1.27 KB

Banka Frontend

Usage

NPM

Prerequisites

cd banka-front
npm install
npm start # starts UI
npm run storybook # starts Storybook

Via Docker (OSX|Linux only)

For Windows hot reload isn't working. See this issue for more information.

Prerequisites

cd banka-front
docker compose up --build

Once the app is up and running it can be accessed at:

  • UI localhost:3000
  • Storybook localhost:6006

Configuration

.env

Default environment file that will use production configuration.

.env.development.example

Environment file for development. It needs to be renamed to .env.development for npm to recognize it.

Tests

banka-front koristi cypress za pokretanje testova.

Unit testing (component testing)

Pokretanje unit testova koristi se komanda

npm run test

End-to-end testing

Pokretanje end-to-end testova koristi se komanda

npx cypress open
or
npx cypress run

Technologies