Skip to content

Anish-2005/FOCUS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Focus - Time Management and Procrastination Coach

React Node.js MongoDB Firebase Vercel

A modern productivity workspace that helps you plan smarter, focus deeper, and beat procrastination with guided sessions, analytics, and AI-powered suggestions.

Focus Preview

Demo video: Focus App Demo.mp4

Features

  • Smart task management with priorities and completion tracking
  • Pomodoro focus sessions with session logging
  • AI solutions powered by Gemini (optional)
  • Activity tracking for tab focus and category breakdown
  • Reminders with browser notifications
  • Social usage guard endpoint (placeholder data by default)
  • Light and dark themes with professional UI system

Tech Stack

  • React 19, React Router, Framer Motion
  • Node.js, Express, MongoDB, Mongoose
  • Firebase Auth, WebSocket updates
  • Chart.js, React Toastify

Project Structure

Time-Management-and-Procrastination/
|- Time/                      # Frontend React app
|- backend/                   # Backend API server
|- Focus App Demo.mp4         # Demo video

Quick Start

  1. Clone the repository
git clone https://github.com/yourusername/Time-Management-and-Procrastination.git
cd Time-Management-and-Procrastination
  1. Backend setup
cd backend
npm install
cp .env.example .env
npm start
  1. Frontend setup
cd ../Time
npm install
cp .env.example .env.local
npm start
  1. Open the app

Environment Variables

Backend (backend/.env)

Variable Description
MONGODB_URI MongoDB connection string
FIREBASE_PROJECT_ID Firebase project id
FIREBASE_CLIENT_EMAIL Firebase service account email
FIREBASE_PRIVATE_KEY Firebase service account private key
GEMINI_API_KEY Gemini API key (optional)
ALLOWED_ORIGINS Comma-separated CORS allowlist

Frontend (Time/.env.local)

Variable Description
REACT_APP_API_URL API base URL, example: http://localhost:5001/api/v1
REACT_APP_WS_URL Optional WebSocket URL
REACT_APP_FIREBASE_API_KEY Firebase web API key
REACT_APP_FIREBASE_AUTH_DOMAIN Firebase auth domain
REACT_APP_FIREBASE_PROJECT_ID Firebase project id
REACT_APP_FIREBASE_APP_ID Firebase app id

Scripts

Frontend (Time/)

  • npm start
  • npm run build
  • npm test

Backend (backend/)

  • npm start

Deployment

  • Frontend: Vercel
  • Backend: Render
  • Set your production URLs in Time/public/robots.txt and Time/public/sitemap.xml

Contributing

See CONTRIBUTING.md

License

MIT License. See LICENSE.

Support

For questions or support, open an issue or contact the maintainer.

About

Transform your productivity with AI-powered insights, smart task management, and real-time activity tracking. Built with React, Node.js, and Google's Gemini AI to help you conquer procrastination and achieve your goals.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors