App that helps you learn foreign words using SRS (space repetition system)
You can add new word as well as its definition or translation. Then after several hours you can review your words and try to input its definition. If you are correct time gap before next review increases.
-
Run
npm install -
To start development database you will need
dockerinstalled. For the first time you need to runnpm run db:initto start db docker container, initialize database and populate it with necessary data -
You must specify env variables in
.envfile. You can look at.env.exampleto see which variables you will need -
Run
npm run devto start dev server
This app uses Vercel for deployment
After you connect github repo with Vercel you need to make small adjustments:
-
Override default build command with
npm run db:deploy && npm run buildto run database migrations before building the app -
Remember to provide all production environment variables from
.env.examplein Vercel app settings