A web app for creating flashcards or generating them using AI. Made using React and Django, with firebase as the datastore
For development and testing, use the development branch: git clone git@github.com:RichuSuresh/brain-deck.git and then git checkout development
cd /backend- (optional) install a python virtual environment:
python -m venv envand activate it by doingcd env, thencd Scriptsthenactivate - Install dependencies
pip install -r requirements.txt
cd frontendnpm install
-
Download docker desktop https://www.docker.com/products/docker-desktop/
-
Click on "ollama/ollama"
-
Once the image has been pulled, click on the "images" tab on the left
5.5 (optional). To use GPU passthrough, open the terminal in docker desktop (bottom right corner) and use the following command and skip steps 6, 7 and 8:
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
-
On the popup, click optional settings
-
In the console type
ollama pull gemma3:4bto install the 4 billion parameter Gemma model
-
cd backend -
python manage.py runserver. This should start the backend
-
cd frontend -
npm run dev -
Once the app is running, vite should present you with a link to the app in the terminal
-
On docker desktop, click on the Containers tab
-
Click Start





