Skip to content

About

Personal operating system for dev creators: log daily coding, automate social content generation with Gemini AI, track job opportunities, and manage finances.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Eazeworkflow

A personal operating system for developer-creators. Log your daily work, generate social content from it, track opportunities, and manage finances — all in one place.

Code daily → Log it → AI turns it into social content → Track jobs → Track money

Features

Module What it does
Dashboard Daily task manager with deep-work focus sessions
Coding Log Journal what you built, fixed, or learned each day
Ideas Content idea bank — save hooks for tweets, reels, threads, LinkedIn
LeetCode Problem tracker — log difficulty, approach, mistakes, time
AI Generator Feed your logs/ideas into Gemini to generate tweets, reel scripts, hooks, LinkedIn posts
Opportunities Job/freelance pipeline tracker (applied → interview → closed)
Finance Income vs expense tracker in INR with monthly comparison

Tech Stack

Layer Technology
Frontend React 18, Vite, Tailwind CSS, shadcn/ui
Backend Node.js 18+, Express
Database PostgreSQL 15+
AI Google Gemini API (Flash / Flash Lite / Pro)
Auth JWT (bcryptjs for password hashing)

Quick Start

1. Clone

git clone https://github.com/rishabhhgit/dev-EazeWorkflow.git
cd dev-EazeWorkflow

2. Backend

cd services/api
cp .env.example .env    # fill in DATABASE_URL, JWT_SECRET, GEMINI_API_KEY
npm install
npm run dev

API starts at http://localhost:8080.

3. Database

cd infra/db
export DATABASE_URL="postgres://user:password@host/dbname?sslmode=require"
bash run_migrations.sh

Or run each migration manually with psql. See Database Migrations below.

4. Frontend

cd apps/web
cp .env.local.example .env.local
npm install
npm run dev

Web starts at http://localhost:5173.


API Endpoints

All protected routes require Authorization: Bearer <token> header.

Auth

Method Endpoint Body Returns
POST /auth/signup {email, password} {token, user_id}
POST /auth/login {email, password} {token}

Tasks

Method Endpoint Body / Query Returns
GET /tasks/today — {tasks: [...]}
GET /tasks?date=YYYY-MM-DD query param {tasks: [...]}
POST /tasks {title, date} task object
PATCH /tasks/:id {title, date, completed} task object
DELETE /tasks/:id — 204

Ideas

Method Endpoint Body / Query Returns
GET /ideas?type=tweet&status=idea optional filters {ideas: [...]}
POST /ideas {hook, idea, type, status} idea object
PATCH /ideas/:id {hook, idea, type, status} idea object

LeetCode

Method Endpoint Body Returns
GET /leetcode — {logs: [...]}
POST /leetcode {problem_name, difficulty, approach, mistake, time_taken} log object

Sessions (Focus Timer)

Method Endpoint Returns
GET /sessions/active session object or null
POST /sessions/start session object
POST /sessions/end session object

Opportunities

Method Endpoint Body / Query Returns
GET /opportunities — {opportunities: [...]}
POST /opportunities {name, type, stage, source, notes} opportunity object
PATCH /opportunities/:id {name, type, stage, source, notes} opportunity object

Finances

Method Endpoint Body Returns
GET /finances — {finances: [...]}
POST /finances {amount, type, note, date} finance object
DELETE /finances/:id — {status: "deleted"}

Coding Logs

Method Endpoint Body Returns
GET /coding-logs — {logs: [...]}
POST /coding-logs {title, description} log object

AI Content Generation

Method Endpoint Body Returns
POST /generate-content {text, formats, model, tone} {tweet, reel_script, hook, linkedin_post}

Formats: tweet, reel_script, hook, linkedin_post Models: gemini-2.5-flash (default), gemini-2.5-flash-lite, gemini-2.5-pro Tones: professional (default), funny, casual, bold, educational


Database Migrations

Run all 6 migrations in order:

cd infra/db
export DATABASE_URL="postgres://user:password@host/dbname?sslmode=require"
bash run_migrations.sh

Or manually:

psql "$DATABASE_URL" -f migrations/001_schema.sql
psql "$DATABASE_URL" -f migrations/002_coding_logs.sql
psql "$DATABASE_URL" -f migrations/003_tasks_custom.sql
psql "$DATABASE_URL" -f migrations/004_ideas_linkedin.sql
psql "$DATABASE_URL" -f migrations/005_finances_spend_type.sql
psql "$DATABASE_URL" -f migrations/006_finances_insta_paid_collab_type.sql

Project Structure

/
├── apps/web/                 # Frontend
│   ├── src/
│   │   ├── components/       # Reusable UI (shadcn/ui)
│   │   ├── contexts/         # AuthContext
│   │   ├── lib/              # API client, utils
│   │   ├── pages/            # Dashboard, Ideas, LeetCode, etc.
│   │   └── App.tsx           # Routes
│   └── package.json
│
├── services/api/             # Backend
│   ├── src/
│   │   ├── routes/           # Express route handlers
│   │   ├── middleware/        # JWT auth
│   │   ├── config.js         # Environment variables
│   │   ├── db.js             # PostgreSQL pool
│   │   └── index.js          # Server entry
│   └── package.json
│
└── infra/db/                 # Database
    ├── migrations/           # 6 SQL migration files
    └── run_migrations.sh     # Automated migration runner

Environment Variables

Backend (services/api/.env)

Variable Required Default Description
DATABASE_URL Yes — PostgreSQL connection string
JWT_SECRET Yes — Secret for signing JWT tokens (32+ chars)
GEMINI_API_KEY No — Google Gemini API key (for AI content gen)
PORT No 8080 HTTP server port
CORS_ORIGINS No * Comma-separated allowed origins

Frontend (apps/web/.env.local)

Variable Required Default Description
VITE_API_URL No http://localhost:8080 Backend API base URL

License

MIT

Author

Rishabh Jain

About

Personal operating system for dev creators: log daily coding, automate social content generation with Gemini AI, track job opportunities, and manage finances.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages