Chinese Character and Words Learning Web App Web App Available for Use Here
Access organized vocabulary tables, mark learned entries, and delve into a comprehensive Character/Word analysis section, featuring example sentences, definitions, word decomposition, stroke order, and related words.
- docker and docker-compose
- run "docker-compose -f docker-compose-dev.yml up"
- access front end at local port 3000, spring boot api at 8080, and django api at port 8000
- add "-d" parameter after up for headless
- this starts a live/hot reload instance of react where changes can be seen as front end code is modified.
- to see changes when modifying backend Springboot or Django run "docker-compose restart" (if not in headless do "docker-compose down" first)
- run "docker-compose -f docker-compose.yml build --no-cache"
- run "docker-compose -f docker-compose.yml up"
- front end will be at port 80, spring boot api at 8080, django api at 8000.
- add ssl key and crt in ssl folder
- Firebase Authentication for google sign in
- Firebase config environment should be changed in frontend/src/service/firebase.js
- Firebase storage to store users learned words.
- Document structure must have a collection /Users
- Make csv file tha follows this pattern
- Table Title Goes on the First Line
- ALl rows after should have 5 columns seperated by commas in the following order
- word index, simplified text, traditional text, pinyin, definition
- Add the csv file to backend/.../services/data
- Add path to csv file to backend/.../services/table_paths.txt
- Restart the container and new table show on the front end.
- Whenever a user logins or creates an account the table will automatically be added to their firebase document.