OpsFlow is a full-stack work management platform built to help teams organize tasks, track execution, and monitor productivity from a single workspace. It combines role-based task operations, a Kanban-style board, manager visibility into team activity, and a clean dashboard experience for day-to-day operations.
This repository contains:
frontend/: React application for the product UIbackend/: Express + MongoDB API for auth, tasks, and activity logs
Teams usually split work across chats, spreadsheets, task trackers, and status updates. OpsFlow brings that workflow together in one place so teams can:
- create and assign tasks with ownership
- move work across stages visually
- control access using roles
- observe work activity through manager timelines
- keep task execution and oversight inside one product
- JWT-based authentication with sign up and sign in flows
- Role-based access for
admin,manager, anduser - Protected frontend routes for authenticated users
- Task board with drag-and-drop status updates
- Task creation and deletion controls for privileged roles
- Task visibility filtered by logged-in user role
- Activity log ingestion for timeline generation
- Manager/admin dashboard with employee work timeline view
- Dedicated product pages for analytics, workflows, team, settings, and about
The home page introduces OpsFlow as a modern work management platform and routes users into sign in or product discovery.
Users can:
- create an account with first name, last name, username, email, and password
- log in using either username or email
- receive a JWT token that is stored in local storage
After login, users land on a protected dashboard.
- Regular users see a personal productivity notice
- Admins and managers can select employees and monitor a generated work timeline
- Timeline data refreshes automatically on an interval
The tasks module is the main execution space:
- tasks are displayed in
todo,progress, anddonecolumns - cards can be dragged between columns to update status
- admins and managers can create new tasks
- task deletion is exposed from the task modal
- backend logs task status changes into the activity system
OpsFlow stores user activity logs and converts them into readable timeline events such as:
- user logged in
- started working on a task
- idle periods
- task status updates
- task completion summaries
This gives managers a lightweight monitoring view without needing a separate reporting tool.
- React
- React Router
- Axios
@hello-pangea/dnd- Custom CSS
- Node.js
- Express
- MongoDB
- Mongoose
- JWT
- bcrypt
Frontend (React)
-> Auth screens
-> Protected dashboard
-> Task board / analytics / team / workflows
-> Axios client with JWT interceptor
Backend (Express API)
-> /user
-> /tasks
-> /activity-logs
-> auth middleware
-> controllers
-> MongoDB models
Database (MongoDB)
-> users
-> tasks
-> activity logs
opsflow/
|-- backend/
| |-- api/
| |-- Controllers/
| |-- Models/
| |-- middlewares/
| |-- service/
| |-- connect.js
| `-- index.js
|-- frontend/
| |-- public/
| `-- src/
| |-- api/
| |-- components/
| |-- context/
| |-- css/
| |-- compocss/
| `-- pages/
`-- README.md
POST /user/signupPOST /user/signinGET /user/meGET /user/all
POST /tasksGET /tasksPUT /tasks/:idDELETE /tasks/:id
POST /activity-logsGET /activity-logs/user/:userIdGET /activity-logs/timeline/:userId
| Role | Key Capabilities |
|---|---|
admin |
View all tasks, create tasks, delete tasks, access manager-style monitoring |
manager |
Create tasks, monitor employee timeline activity |
user |
Sign in, view assigned/created tasks, update tasks they own or are assigned |
git clone <your-repo-url>
cd opsflowCreate backend/.env with at least:
JWT_SECRET=your_super_secret_key
PORT=5000Note:
- the current backend connection string is hardcoded in
backend/index.js - MongoDB is expected at
mongodb://127.0.0.1:27017/OpsFlow
cd backend
npm installcd frontend
npm installcd backend
node index.jsOptional during development:
npx nodemon index.jscd frontend
npm startFrontend:
http://localhost:3000
Backend:
http://localhost:5000
To test the main experience locally:
- Create a user account from the sign-up page.
- Log in from the sign-in page.
- If you want manager-level capabilities, create a user with role
manageroradminthrough the backend/API. - Open the tasks board and create tasks from a privileged account.
- Drag tasks across columns to generate status updates.
- Visit the dashboard and inspect timeline updates for tracked users.
- clean separation between frontend and backend
- meaningful auth + authorization base
- task workflow already usable end to end
- activity timeline concept makes the product stand out from basic CRUD boards
- easy starting point for a SaaS-style team operations platform
- MongoDB URL should move to environment variables instead of staying hardcoded
- backend scripts can be improved for easier development startup
- analytics, team, workflows, and settings pages are currently mostly UI-driven
- there are no automated tests yet
- some frontend pages use direct DOM event handling and can be refactored into idiomatic React form state
- role management and admin tooling can be expanded
- real analytics powered by stored task data
- comments and task discussion threads
- due date reminders and notifications
- workspace-level settings persistence
- activity heatmaps and employee productivity summaries
- workflow builder with custom status stages
- deployment-ready environment config and CI
Add screenshots here before pushing to GitHub:


If you want to improve OpsFlow:
- Fork the repo
- Create a feature branch
- Make your changes
- Test locally
- Open a pull request
This project currently does not declare a custom project license. Add one before public distribution if needed.
Built for teams that want visibility, accountability, and smoother execution without juggling five different tools.