Skip to content

gabrielwhitehair/FlashCards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlashCards

A flashcard application with spaced repetition, multiple decks, and import/export functionality. Built with Angular and Node.js, deployed on Vercel.

Features

  • 📚 Multiple decks organization
  • 🔄 Spaced repetition algorithm for optimal learning
  • 🎴 Basic flip cards with question/answer
  • 📥 Import/Export functionality (CSV support)
  • 🎨 Modern Angular frontend
  • ⚡ Serverless API on Vercel

Tech Stack

  • Frontend: Angular 17
  • Backend: Node.js serverless functions (Vercel)
  • Database: Vercel Postgres
  • Deployment: Vercel

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

# Install dependencies
npm install

# Run development server
npm run dev

Visit http://localhost:4200

API Endpoints

The application uses Vercel serverless functions in the /api directory:

  • GET /api/decks - Get all decks
  • POST /api/decks - Create a new deck
  • GET /api/decks/:id/cards - Get cards in a deck
  • POST /api/cards - Create a new card
  • PUT /api/cards/:id/review - Record card review for spaced repetition

Deployment

Deployed automatically to Vercel on push to main branch.

# Deploy to Vercel
vercel

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors