Skip to content

alishawalunj/TaskOps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⭐ TaskOps

TaskOps is a full-stack task management application designed to streamline productivity and collaboration. It enables users to create, update, and manage tasks efficiently while supporting OAuth login, JWT authentication, and real-time GraphQL APIs via Apollo Federation.

🚀 Tech Stack

Java Spring Boot PostgreSQL Next.js GraphQL Apollo Federation OAuth 2.0 JWT

✨ Features

  • User registration and login (Local + Google OAuth)
  • Create, update, and delete tasks
  • View user profiles and task details
  • GraphQL API with Apollo Federation for modular architecture
  • Responsive frontend built with Next.js
  • Secure authentication using JWT and OAuth 2.0
  • PostgreSQL database integration for persistent storage
  • Real-time data fetching with GraphQL queries and mutations

🏗️ Architecture

  • Microservices architecture with Spring Boot services

  • Apollo Federation for modular GraphQL subgraphs

  • Next.js frontend for server-side rendering and React hooks

  • JWT + OAuth for authentication and authorization

  • PostgreSQL as relational database

  • Architectre Diagram

Architecture Diagram

  • Service Diagram

Service Diagram

🔐 Authentication & Authorization

  • Local login with email/password
  • Google OAuth login
  • JWT-based token authentication for API access

📊 Database Schema

  • users table: stores user information, OAuth provider, and credentials
  • tasks table: stores tasks, owner reference, and status
  • Relationships:
    • One-to-many: User → Tasks

📁 Project Structure

server/                 # Spring Boot backend services
├── auth-service        # Authentication service
├── task-service        # Task management service

frontend/               # Next.js frontend

apollo-gateway/         # GraphQL gateway, typeDefs & resolvers

subgraphs/              # GraphQL subgraphs for modular architecture
├── auth-subgraph       # Auth subgraph
└── task-subgraph       # Task subgraph

🚀 Getting Started

Prerequisites

  • Java 17+
  • Node.js 18+
  • PostgreSQL 14+
  • Yarn or npm
  • Git

Backend Setup

  1. Navigate to backend services:
    • auth-service
    • task-service
  2. Build and run each service:
./mvnw clean install
./mvnw spring-boot:run

Frontend Setup

  1. Navigate to frontend:
npm install
npm run dev

Middleware Setup

  • Subgraphs: auth-subgraph, task-subgraph
  • Apollo Gateway:
node index.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors