Skip to content

Kiran-F/dear-diary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dear Diary — Setup & Deployment Guide

🚀 Quick Start (Local)

npm run dev

Open http://localhost:5173


🔑 Firebase Setup (Free — Required)

  1. Go to console.firebase.google.com
  2. Create a new project → click </> Web App → copy config
  3. Paste into src/firebase/config.js (replace all YOUR_* placeholders)
  4. Enable Authentication → Email/Password
  5. Enable Firestore Database → Test Mode

☁️ Deploy to Vercel (Free)

  1. Push project to GitHub
  2. Go to vercel.com → Import repo
  3. Vercel auto-detects Vite → click Deploy ✓

📁 Structure

src/
  firebase/config.js       ← ⚠️ Add your Firebase credentials here
  firebase/firestore.js    ← Firestore helpers
  contexts/AuthContext.jsx ← Auth state
  components/
    Calendar.jsx           ← Monthly calendar
    DiaryPanel.jsx         ← Diary + Todo panel
    VoiceRecorder.jsx      ← Voice-to-text
    TodoList.jsx           ← Per-day todos
    PrivateRoute.jsx       ← Auth guard
  pages/Login.jsx Signup.jsx Dashboard.jsx
  App.jsx                  ← Routes

About

A digital diary, so that you don't have to keep the record manually. You can also use voice to write your diary freely.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors