Skip to main content

Command Palette

Search for a command to run...

#Week 1 — GitHub Authentication & Service Monitoring in CodeAtlas

Updated
#Week 1 — GitHub Authentication & Service Monitoring in CodeAtlas
A
I’m a curious learner and aspiring software developer who enjoys building real-world systems, exploring new technologies, and learning in public. I write about coding, personal growth, and turning ideas into practical systems—while simplifying complex concepts for others.

This week, I focused on two major milestones in the CodeAtlas project: implementing GitHub authentication and setting up monitoring for the key services. While I initially considered monitoring all services, I decided to start with a more practical approach to ensure stability and observability for the most critical components.


GitHub Authentication

One of the first things I tackled was integrating GitHub authentication into CodeAtlas.

Why GitHub Auth?
GitHub OAuth allows users to securely log in using their GitHub accounts. The advantages include:

  • No need for a separate username/password system

  • Users authenticate via a trusted, secure platform

  • Access to GitHub APIs based on scopes for advanced functionality

Learning Resource:
I followed this tutorial: GitHub OAuth Tutorial. The process is similar to Google OAuth, but the key difference here is that we don’t need to maintain the access token manually—it’s generated on-the-fly and handled securely.

Implementation Highlights:

  • Configured GitHub OAuth in the application

  • Defined proper scopes (e.g., read user info, repo data)

  • Ensured smooth login flow and token management

This implementation lays the foundation for future features where CodeAtlas can interact with GitHub repositories directly.


Monitoring Services

The practical solution I implemented:

Instead of monitoring all services, I focused on the two main ones:

  • Repo Parser – handles repository data parsing

  • AI Chat Service – handles chat functionality

Tech Stack Used:

  • Grafana: Dashboards and visualization

  • Loki: Log aggregation

  • Prometheus: Metrics collection

This setup allows me to:

  • Track logs and metrics for the most critical services

  • Ensure stability and observability without overcomplicating the system

For the other services, I have ideas for monitoring. I plan to try them individually first and see how they work before scaling up.

source of Monitoring


Why This Matters

By combining GitHub authentication and targeted monitoring, CodeAtlas is becoming:

  • Secure – via GitHub OAuth

  • Observable – critical services can be monitored

  • Scalable and maintainable – easier to debug and improve

Even though I didn’t go full central monitoring this week, this approach ensures that the most important parts of the system are reliable and visible.


What’s Next

In the coming weeks, I plan to focus on:

  • Expanding GitHub OAuth scopes

  • Creating routes to search repositories

  • Implementing new monitoring ideas for the other services


🤝 Contributions

Ideas, improvements, and suggestions are always welcome.
You’re encouraged to submit issues or pull requests to help evolve the platform.

Github repo

CodeAtlas

Part 2 of 10

CodeAtlas is an AI-powered system that analyzes GitHub repos, generates AST-based insights, builds code relationship graphs, and helps developers understand complex projects through visualization and intelligent search.

Up next

#week 2 — Building a Simple but Powerful Logging System for CodeAtlas

This week, I worked on something very important for CodeAtlas:👉 a logging system that is clean, stable, and easy to understand. At first, I tried many different methods.Some ideas worked, some failed, some broke the logs completely.But after testing...

More from this blog

P

Project Log

12 posts

Project Log shares quick, clear updates from real projects—covering progress, challenges, and lessons learned. A simple, honest space for builders who enjoy seeing how ideas grow step by step.