Skip to content

fabio-cassisa/happy-thoughts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

happy thoughts

a social micro-posting app where people share positive thoughts — built with react, fetching and posting to a shared API, with a localStorage fallback when the backend goes down.

why

the original project focused on react state management and API interactions (fetch, POST, optimistic updates). the glow-up added resilience: when the Technigo API went offline, the app switches to local-only mode automatically — your thoughts persist in the browser instead of disappearing into a 503.

how it works

  • post thoughts (5–140 characters) with real-time character validation
  • like thoughts once per session — tracked with a unique-like counter
  • relative timestamps that update naturally (seconds → minutes → hours → days)
  • offline fallback — if the API is down, the app runs entirely on localStorage with sample data and a subtle notice

screenshot

dark theme

stack

react · vite · javascript · css custom properties · localstorage · rest api

run locally

npm install
npm run dev

status

🟢 shipped — originally a Technigo bootcamp project, redesigned with dark theme and offline resilience


built by fabio cassisa · paired with carl öberg

About

share positive thoughts — dark-themed micro-social app with likes, character validation, and localStorage fallback. react, API integration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 55.9%
  • CSS 41.2%
  • HTML 2.9%