This is a frontend part of the app. The backend code is located in the repo.
The application is a simple analog of writing section of Puzzle English.
The main entities here are multi-phrase exercises. Users are supposed to solve these exercises by gradually translating each phrase from the source language to the target language.
Users with the required permissions can modify other's user roles, solve, create, modify and delete exercises.
- VueJS
- Vuetify
- Vuelidate
- CASL
- Axios
- GitHub Pages - deploying to https://kshashov.github.io/translate-it
If user is trying to open a non-public page.
If user has no required permissions.
npm install
npm run serve
npm run build
npm run lint
You can create .env
file in root of the project and write any variables there.
The app required several variables to work properly:
# Address of the backend server. For example
VUE_APP_TRANSLATES_API_BASE_URL=http://localhost:8084
# Relative path for the frontend location. For example
VUE_APP_TRANSLATES_PUBLIC_PATH=/
In case the VUE_APP_TRANSLATES_PUBLIC_PATH
path is /
, the history
router mode is used, otherwise the hash
.