Skip to content

win7user10/Laraue.Apps.LearnLanguage

Repository files navigation

Laraue.Apps.LearnLanguage

The repository contains the backend of Telegram bot allows to learn translations of the top 5000+ most used english words passing quizes. Deployed bot can be found in Telegram.

Each word has it's own CEFR level and related topics. That allows to setup quizes to learn preffered words first of all.

How to add new or edit old words

  1. Edit translations.json
  2. Create new migration: cd src && dotnet ef migrations add MigrationName -p Laraue.Apps.LearnLanguage.DataAccess -s Laraue.Apps.LearnLanguage.Host -v
  3. At the next application run translations will be added to database automatically

How to add new language

  1. Edit languages.json
  2. Create new migration: cd src && dotnet ef migrations add MigrationName -p Laraue.Apps.LearnLanguage.DataAccess -s Laraue.Apps.LearnLanguage.Host -v

Local run (long-pooling mode)

  1. Create new telegram bot with @BotFather and get a token
  2. Create file appsettings.Development.json in the project Laraue.Apps.LearnLanguage.Host and fill it with taken telegram token
{
    "Telegram": {
        "Token": "tg_token"
    }
}
  1. Run Laraue.Apps.LearnLanguage.Host. Write /start to your bot and wait for answer.

About

The telegram bot to learn vocabulary of different languages

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages