Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Vibe Tasks – Full-stack app

Node.js (Express) backend + React (Vite) frontend, MongoDB Atlas, JWT auth.

Setup

Backend

  1. cd backend
  2. npm install
  3. Copy backend/.env.example to backend/.env and set:
    • MONGODB_URI – your MongoDB Atlas connection string
    • JWT_SECRET – a strong secret for JWT signing
    • PORT (optional, default 5000)
  4. npm run dev

Frontend

  1. cd frontend
  2. npm install
  3. npm run dev (runs on port 3000, proxies /api to backend)

Features

  • Auth: Register and Login with phone + password; JWT stored in localStorage; protected routes.
  • User model: phone, globalRankingScore.
  • Task model: title, scheduledTime, status (pending, completed_on_time, late, skipped), linked to user.
  • API
    • POST/GET/PATCH/DELETE /api/tasks – CRUD (auth required).
    • GET /api/yemot/task-check?phone=0501234567 – returns nearest upcoming task title as plain text for Yemot Hamashia TTS.
  • UI: Tailwind CSS; Login and Register pages; Dashboard with daily tasks and global score.

Yemot integration

Call:

GET /api/yemot/task-check?phone=0501234567

Response is text/plain: the next pending task title, or "No upcoming tasks." / "User not found" / "Missing phone number".

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages