Skip to content

Webapp to help me track progress of my different Japanese learning apps

Notifications You must be signed in to change notification settings

thoiberg/japanese-study-tracker

Repository files navigation

Japanese study tracker

Hostname: https://divine-thunder-7423.fly.dev

Development

Run using docker compose. Before running docker-compose you must set the following values, or copy the env.development.sample file and update it with the right value:

export WANIKANI_API_TOKEN="<my-api-token>"
export BUNPRO_API_TOKEN="<my-api-token>"
export SATORI_COOKIE="<session-cookie>"
export ANKIWEB_COOKIE="<session-cookie>"
# OR:
cp .env.development.sample .env.development # add the right tokens in
docker compose up --build

Testing

Backend

All commands are run from the backend directory.

cargo test

Frontend

All commands are run from the frontend directory.

npm run test:unit

Deploying

Deploying to fly.io uses the top level Dockerfile. Deploying is done with:

fly deploy # Note: you need to have access to the project in fly.io to deploy

Testing the deploy image

The deploy image can be build and run with:

docker build -t deploy-test .
docker run --env-file .env.development -p 3000:3000 -it deploy-test

About

Webapp to help me track progress of my different Japanese learning apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published