A flashcard app for spaced retrieval.
The idea of the app is to help you etch facts in long-term memory. Every time you correctly answer a flashcard, the interval before you're asked it again increases (until, eventually, the card is finished). If you answer incorrectly, the interval will decrease.
Node, Express, React, PostgreSQL, Redis, Docker.
I made this app mostly to learn some Docker as well as to consolidte my React and Node/Express skills.
The app is dockerised so you'll need to install and open Docker Desktop first.
To run in development mode: docker-compose --env-file ./config/.env.dev up
To run tests: docker-compose --env-file ./config/.env.test up
You can run node scripts/seedForDev.js
on the api container to add some seed data. You can then login with: email: "johnsmith@etchtestapp.com", password: "password1".
I had some difficulty finding a nice way to get Cypress tests incorporated with Docker into the app. This is what I was working on last.