Skip to content

azakharo/yon-admin

Repository files navigation

YON admin UI

Quick start for the development

First install dependencies:

npm install

To run in the development mode with hot module reloading:

npm start

That command opens http://localhost:4004 page in your browser.

Building the production version

npm run build

See "dist" folder for results.

To run the production build:

npm run preview

Build modes or building for different servers

This frontend application can be built for staging or production server.

To build for the staging run:

npm run build -- --mode staging

To build for the production:

npm run build -- --mode production

or simply:

npm run build

On different servers the app can use different settings (different API URLs, for example).
Use the following env files at the repository's root to specify those settings:

  • for staging - .env.staging
  • for production - .env.production
  • for local development - .env.development

Linting and type checking

Run linting:

npm run lint

Run type checking:

npm run ts

Storybook

npm run storybook

Testing

npm test

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published