Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karmek-k/memocards
✅ Online flashcards
https://github.com/karmek-k/memocards
Last synced: 3 days ago
JSON representation
✅ Online flashcards
- Host: GitHub
- URL: https://github.com/karmek-k/memocards
- Owner: karmek-k
- License: agpl-3.0
- Created: 2021-07-30T07:56:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-22T13:28:56.000Z (about 3 years ago)
- Last Synced: 2023-06-30T14:32:55.744Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.46 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# memocards
![example workflow](https://github.com/karmek-k/memocards/actions/workflows/server.yml/badge.svg)
## Overview
**memocards** is a flashcard application, intended to be used for effective memorization.
The app is not finished yet, but development is nearing the end
and it will be available soon! :)For now, you can follow the instructions below to set up a development environment.
## Setting up (for development)
memocards uses [Yarn](https://yarnpkg.com/) for package management, so you should install it first:
```
npm install -g yarn
```### Backend - with Docker
Create a new `.env` file from template:
```
cp .env.template .env
```Edit it to your needs (or don't edit it at all, if you're just trying this out).
Run Docker Compose:
```bash
# in foreground (exit with ctrl+c)
docker-compose up# in background
docker-compose up -d
```To stop compose running in background when you're done, run:
```bash
# you must be in the same directory as before
docker-compose stop
```### Frontend - without building for deployment
Follow the `README.md` file in the `client` directory.
You should have the backend running already.## Running tests
Go to the `server` directory and install the dependencies:
```
cd server
yarn
```And then, simply run:
```
yarn test
```For test coverage:
```
yarn test --coverage
```## Author and license
Developed by **Bartosz Gleń** and available under the **GNU AGPL 3** license.