Skip to content

A training / learning exercise to practice DOM manipulation, localStorage usage, authentication logic, and UI state management - without any backend.

Notifications You must be signed in to change notification settings

zaferyilmaznet/mini-microblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Mini Microblog

A simple front-end microblogging application built with HTML, CSS, and vanilla JavaScript. This project is designed as a training / learning exercise to practice DOM manipulation, localStorage usage, authentication logic, and UI state management β€” without any backend.


πŸš€ Features

πŸ” User Authentication

  • Sign Up with username & password
  • Sign In / Sign Out
  • Delete user account

πŸ§‘β€πŸ’» User-Based Microblogging

  • Create short posts (max 140 characters)
  • Limit of 10 posts per user
  • Posts are timestamped and shown in a global feed

πŸ’Ύ Persistent Data

  • Users, posts, session, and theme are stored in localStorage

πŸŒ™ Dark / Light Mode

  • Toggle between themes
  • Theme preference is saved

🧠 UX Enhancements

  • Character counter with warning & error states
  • Success / error message board
  • Auto-sorted feed (newest first)

πŸ› οΈ Technologies Used

  • HTML5 – Structure
  • CSS3 – Styling, dark mode, transitions
  • JavaScript (ES6) – Logic, state, DOM manipulation
  • Browser localStorage – Data persistence

No frameworks, no libraries, no backend.


πŸ“‚ Project Structure

mini-microblog/ β”‚ β”œβ”€β”€ index.html # App layout & structure β”œβ”€β”€ style.css # Styling & dark/light themes β”œβ”€β”€ script.js # App logic & localStorage handling └── README.md # Project documentation


▢️ Getting Started

  1. Clone or download the project
  2. Open index.html in your browser
  3. Sign up with a new username
  4. Start posting ✨

No server or build tools required.


⚠️ Limitations (By Design)

This is a training project, so:

  • ❌ Passwords are stored in plain text
  • ❌ No real authentication or security
  • ❌ No backend or database
  • ❌ Data is browser-specific

Do not use this in production.


🎯 Learning Goals

This project helps practice:

  • DOM manipulation
  • Event handling
  • Application state management
  • localStorage CRUD operations
  • UI rendering logic
  • Basic UX patterns
  • Theme toggling
  • Front-end project structure

πŸ“Œ Possible Improvements

  • Edit & delete individual posts
  • Password hashing
  • Per-user feed filtering
  • Pagination
  • Avatar support
  • Backend integration (Node.js / Firebase)
  • Responsive mobile-first redesign

πŸ“„ License

This project is open for educational and personal use. Feel free to modify and expand it as part of your learning journey.

About

A training / learning exercise to practice DOM manipulation, localStorage usage, authentication logic, and UI state management - without any backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published