Allows you to checkin your pill intakes in telegram by creating pill course and timetable for it
- User can create pill course
- User can update pill course
- User can delete pill course
- User can create timetable for course
- User can update timetable for course
- User can delete timetable for course
- User can checkin pill intakes
- User can view checked pill intakes
- User can view incomming pill intakes
- User notified about incomming pill intakes
- Support custom timezone
You can view database architecture here
- Install corresponding erlang/elixir versions fron
.tool-versions
file in a root as well as postgresql - Copy sample configuration file:
cp .env.sample .env
- Set
BOT_TOKEN
in.env
file - Retreive deps:
mix deps.get
- Start your app:
source .env && iex -S mix
Accounts
— domain with users logicBots
— domain with telegram bot command logic. Invokes API fromCourses
andAccounts
domainsCourses
— domain with logic for courses/timetables/checkinsJobs
— domain with all periodic jobs
PillboxWeb.Bot
— bot request router. Invokes commands fromPillbox.Bots
domain