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.
- Edit translations.json
- Create new migration:
cd src && dotnet ef migrations add MigrationName -p Laraue.Apps.LearnLanguage.DataAccess -s Laraue.Apps.LearnLanguage.Host -v - At the next application run translations will be added to database automatically
- Edit languages.json
- Create new migration:
cd src && dotnet ef migrations add MigrationName -p Laraue.Apps.LearnLanguage.DataAccess -s Laraue.Apps.LearnLanguage.Host -v
- Create new telegram bot with @BotFather and get a token
- Create file
appsettings.Development.jsonin the projectLaraue.Apps.LearnLanguage.Hostand fill it with taken telegram token
{
"Telegram": {
"Token": "tg_token"
}
}- Run
Laraue.Apps.LearnLanguage.Host. Write/startto your bot and wait for answer.