A simple flashcard app focused on quick card creation and distraction-free practice.
Explore the API documentation at http://127.0.0.1:8000/docs.
To test your GitHub Actions workflows locally before pushing to GitHub, you can use nektos/act. This tool allows you to simulate GitHub Actions workflows using Docker.
Here is a simple guide for how to do this here.
createdb <dbname>
backend/.env:PROJECT_NAME=FlashNotes
DOMAIN=localhost
POSTGRES_SERVER=localhost
POSTGRES_USER=<your-username>
POSTGRES_PASSWORD=<your-password>
POSTGRES_DB=<dbname>
FIRST_SUPERUSER=admin@example.com
FIRST_SUPERUSER_PASSWORD=<admin-password>
USERS_OPEN_REGISTRATION=true
cd backend
chmod +x prestart.sh
# Install dependencies and run migrations
uv run ./prestart.sh # Run ./prestart.sh to run db migrations
# Start the development server
uv run uvicorn src.main:app --reload
# Create and activate virtual environment
uv venv .venv
source .venv/bin/activate
# Install dependencies
uv sync
# Run migrations
./prestart.sh
# Start the development server
uvicorn src.main:app --reload
The backend server will be available at http://127.0.0.1:8000
cd frontend
pnpm install
pnpm run dev
The frontend uses a generated TypeScript client to communicate with the backend API. To update the client after making changes to the backend:
cd backend
source .venv/bin/activate # For Unix/Linux
# OR
.venv\Scripts\activate # For Windows
./scripts/generate_client.sh
Once the backend is running, access the interactive API documentation at: - ReDoc: http://127.0.0.1:8000/redoc - Swagger UI: http://127.0.0.1:8000/docs
We welcome contributions! Please see our Contributing Guidelines for details on how to get started, report bugs, suggest enhancements, and submit pull requests. Feel free to join our Discord for questions and discussions!
$ claude mcp add FlashNotes \
-- python -m otcore.mcp_server <graph>