This repository presents frontend application for my Japanese APP.
- general json options:
{
"vocab": "降る",
"meaning": "ふる",
"known": false,
"inProgress": true,
"nowLearning": false,
"counter": {
"reading": "つ",
"counterGroup": "tsu",
"additionalNumbers": [11, 12],
"question": {
"japaneseForm": {
"kanji": ["幾", "つ"],
"furigana": ["いく", "つ"]
}
}
},
"pitch": "",
"antonyms": "入る",
"level": 0,
"examples": [
"同じタイミングで言ってみました。"
],
"additionalExplanation": [
"椅子の上を立つ。椅子に乗る。"
],
"problems": [
{
"problem": "食事 is suru verb, that's why we can say:「食事します」",
"frequency": 1,
"resolved": false,
"info": [
"I did that only once so far."
]
}
],
"verb": {
"main": "降",
"verbGroup": "ru",
"verbType": "intransitive",
"opposite": "付く"
}
}
If word is not in Jisho API then in vocabulary-not-in-api.json
add missing data (schema is the same as Jisho API). See 月 ('がつ' meaning).
- vocab
required
- vocab name written in kanji - meaning - when vocab has 2 readings, use
meaning
key to different one from another (write it in kana) - known
required
- (see below) - inProgress
required
- (see below) - nowLearning
required
- (see below) - pitch
required
- name of used pitch accent to pronounce it - antonyms - if API don't hase
antonyms
for this word use this option instead - counter - if word is a
counter
addcounterGroup
(see below) - level
required
- JLPT level - examples - array od examples
- additionalExplanation - array of additional explanation for this word
- problems - array of my problems with this word (when not resolved problems are in a word, know option should be as false)
- verb - is word is a verb, use this option (see below)
(Stick with this order)
inProgress
- probably can say or guess meaning or reading, often confused about one or both (need to say at least 10 times before moving it tonowLearning
)nowLearning
- last step of learning, when can very fast read it and say meaning 3 times before can move it toknown
. (If made mistake, move toinProgress
)known
- Can read and know meaning, can use
-
main
required
- main stream for a verb word (e.g. in降る
it is降
) -
verbGroup
required
- group of a verb. Possible options:2
- second groupspecial1
- suru verbspecial2
- kuru verbu
- godan verb with u endingku
- godan verb with ku endinggu
- godan verb with gu endingsu
- godan verb with su endingtsu
- godan verb with tsu endingbu
- godan verb with bu endingmu
- godan verb with mu endingnu
- godan verb with nu endingru
- godan verb with ru ending
-
verbType
required
- type of verb. Possible options:- intransitive
- transitive
- other (when none from above)
-
reading - only if counter has a special reading
-
additionalNumbers - only if counter has exceptions in other numbers (e.g. 歳 has exception in 20)
-
question - only if question od counter is different from default
何~
. AddjapaneseFormShape
schema (see e.g.: 個) -
counterGroup
required
- group of counter. Possible options:default
k
s
h
f
// special
ji
nichi
nin
nen
-tsu
-sai
-ke
-so
gatsu
// not yet
t
p
r
w
maki
(間, 巻)sao
tsuu
tsui
zen
NodeJS
>= v10.14.1npm
>= 6.4.1Git
Bash (for versioning)
- Clone project from GitHub repository
- Add alias to your
hosts
file:127.0.0.1 if.japanese.local
cd if.japanese
- Install dependencies
npm install
- Run
npm run prepare
to init husky configuration
- Create
.env
file (see WIKI for more information) - Use
npm start
for starting dev server.
Browser automatically open http://if.japanese.local:2017/
.
The app will automatically reload if you change any of the source files.
Deploy by Netlify.
Merge to master
will automatically trigger build/deploy.
Status:
If you want to contribute read the contributing guidelines before opening an issue [WIP].
I use my own style guidelines: IF.Kamisama.