Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChanakyaIQ Documentation

This directory contains comprehensive documentation for the ChanakyaIQ project, designed to provide complete context for developers, AI agents, and contributors.

🗺️ Need help navigating? See DOCUMENTATION-MAP.md for visual guide and documentation relationships.

📚 Documentation Files

AGENTS.md - START HERE

Complete project documentation including:

  • Project overview and purpose
  • Tech stack (Spring Boot 4, React 19, Java 21, TypeScript)
  • Architecture and directory structure
  • API endpoints and database schema
  • Business logic and key features
  • Development workflow and setup
  • Troubleshooting guide
  • Configuration files

Use this as your primary reference for understanding the entire project.

Deep dive into authentication:

  • Complete OAuth2 flow with step-by-step diagrams
  • Google OAuth2 integration details
  • Session management (JSESSIONID cookies)
  • Security features and configuration
  • User provisioning logic
  • CORS and credential handling
  • Troubleshooting authentication issues

Use this when working on authentication, security, or understanding the login flow.

🎯 Quick Navigation

I want to... Go to...
Understand the entire project AGENTS.md
Learn how authentication works OAUTH2-FLOW.mdSecurity Config
See all API endpoints AGENTS.md - API Endpoints
Understand database structure AGENTS.md - Database Schema
Setup development environment AGENTS.md - Development Workflow
Add new features AGENTS.md - Common Development Tasks
Understand business logic AGENTS.md - Business Logic Highlights

🏗️ Project Structure

chanakyaiq/
├── .github/
│   ├── README.md          ← You are here
│   ├── AGENTS.md          ← Complete project documentation
│   └── OAUTH2-FLOW.md     ← Authentication deep dive
├── backend/               ← Multi-module Maven parent (Java 21)
│   ├── chanakya-iq-api/   ← Generated models (OpenAPI plugin)
│   └── chanakya-iq-service/ ← Spring Boot service and APIs
└── frontend/              ← React UI (TypeScript)

🚀 Quick Start

  1. Read AGENTS.md for complete context
  2. Setup environment following Development Workflow
  3. Configure OAuth2 using OAUTH2-FLOW.md
  4. Start developing with Common Development Tasks

🔑 Key Technologies

  • Backend: Java 21, Spring Boot 4.0.6, Spring Security, JPA/Hibernate, H2 Database, RestClient, Log4j2
  • Frontend: React 19.2.6, TypeScript 6.0.3, Vite 8.0.12
  • Authentication: Google OAuth2 (session-based with JSESSIONID cookies)
  • Architecture: Multi-module Maven project with OpenAPI code generation

💡 Documentation Philosophy

These documents are designed to:

  • ✅ Provide complete context without needing to explore every file
  • ✅ Enable AI agents to understand the project quickly
  • ✅ Help new developers onboard efficiently
  • ✅ Serve as reference documentation for existing team members
  • ✅ Document architecture decisions and design patterns

📝 Keeping Documentation Updated

When making significant changes:

  1. Update AGENTS.md for structural/architectural changes
  2. Update OAUTH2-FLOW.md for authentication changes
  3. Add new documentation files for major new features
  4. Link new docs from this README

🤝 Contributing

See AGENTS.md - Contributing Guidelines for contribution process.


Last Updated: June 13, 2026
Maintained by: Harish Singla

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages