Skip to content

Files

Latest commit

80789dc · Sep 23, 2022

History

History

frontend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 29, 2022
Sep 23, 2022
Sep 23, 2022
Sep 21, 2022
Aug 28, 2022
Sep 4, 2022
Sep 21, 2022
Sep 7, 2022
Sep 23, 2022
Sep 21, 2022
Sep 23, 2022
Sep 23, 2022
Sep 21, 2022
Jul 29, 2022
Jul 29, 2022
Sep 6, 2022
Jul 29, 2022
Aug 14, 2022
Aug 31, 2022
Aug 29, 2022
Jul 29, 2022
Sep 23, 2022
Sep 20, 2022
Sep 19, 2022
Sep 19, 2022
Sep 1, 2022

Frontend

Requirements:

  • NodeJS (16.x.x)
  • NPM (8.x.x)

How to start the app

  1. Create and fill in .env file following .env.example file
  2. Run npm install at the root folder
  3. Start in DEV env: npm run start
  4. Build: npm run build
  5. Start in PROD env:npm run serve

Rules of naming localization files

  • File names for localization are given by the name of the page, for example personal-info for '/user-account/dashboard/personal-info'.
  • If the pages are small, you should combine them into one file, for example auth for sign-in, sign-up and auth-verify.
  • If you will use component on several places of app add the localization of the components to the file common.json/components or to the file with the current page if the component will be used only there.
  • We add localization for public routes to public.json.
  • After adding a new file with localization, you need to import it into index.ts for the correct definition of types. ua, en
  • Localization files consist of nested objects with keys written in camel case.