Skip to content

Psychopatate-spec/leaflet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍁 Leaflet

A cozy notes app with falling leaves β€” built for the September Vibes challenge 🌿

Leaflet Demo Screenshot

✨ About

Leaflet is a React GUI app where your thoughts fall gently like autumn leaves.
It’s inspired by cozy September evenings, notebooks, and a little help from GitHub Copilot.

Features:

  • πŸ‚ Animated falling leaves in the background
  • πŸ“ Notes editor with a clean, minimal UI
  • 🎨 Seasonal vibes that make writing feel cozy
  • πŸ€– AI-assisted coding (Copilot helped with components, animations, and debugging)

πŸ› οΈ Tech Stack

  • Framework: React
  • Styling: Raw CSS
  • Animation: CSS keyframes / Framer Motion
  • AI Buddy: GitHub Copilot, Cursor,Windsurf, ChatGPT (autocompletion + debugging)

πŸš€ Getting Started

Clone the repo:

git clone https://github.com/Psychopatate-spec/leaflet.git
cd leaflet

Install dependencies:

npm install

Run frontend and backend together:

npm run dev

The frontend runs at http://localhost:3000 and proxies API calls to the backend at http://localhost:4000.


πŸ”Œ Backend API

A lightweight Express server persists tasks to a JSON file under server/data/tasks.json.

  • GET /health β†’ health check
  • GET /api/tasks β†’ list all tasks
  • POST /api/tasks β†’ create { text, category, priority }
  • PUT /api/tasks/:id β†’ update any fields
  • DELETE /api/tasks/:id β†’ remove task

If the backend is unavailable, the app gracefully falls back to cached tasks in localStorage.

Releases

No releases published

Packages

No packages published