Skip to content

Instantly share code, notes, and snippets.

View ans-sq's full-sized avatar

Ans Sohail ans-sq

View GitHub Profile

Admin Side for Bootcamps

image image image image

Instructor side for Bootcamps

@ans-sq
ans-sq / niyo-bootcamp-business-logic-overview.md
Created July 12, 2025 11:26
A gist to go over the Niyo Labs Boot Camp integration business logic.

NiyoLabs Bootcamp Working Overview

Here is a high-level overview of the working of NiyoLabs Bootcamps, detailing the business logic and interactions between different roles and features.

1. Bootcamp Setup and Management (Admin Role)

  1. Bootcamp Creation: An admin initiates the creation of a new bootcamp through a robust admin panel. This includes defining the bootcamp's name, description, and other core configurations.

  2. Instructor Assignment: Upon bootcamp creation, the admin assigns one or more instructors to it.

# I tried to generate the changes required, look over this try to best fit it and if we need to track anything else let me know
# File: analytics_preprocessor.py
import os
from datetime import datetime, timezone
from typing import List, Optional
from fastapi import FastAPI, HTTPException
from pydantic import BaseModel
from pymongo import MongoClient, UpdateOne

Analytics Dashboard Discussion Points

Here's a summary of key discussion points regarding the analytics dashboard, designed to help us refine its effectiveness:

Environment and Data Display

  • Front-end Access: Please remember to use the staging Niyo Labs front-end for testing and review purposes.
  • Admin Access for Analytics: The analytics will be showcased using the production Niyo Labs admin interface.
  • Module Values: Currently, the dashboard displays raw module values. We have the capability to interpolate these values for smoother trends and easier interpretation if desired. Please let us know if you'd prefer interpolated data.

Key Metrics for Learning Platforms


This document outlines essential metrics for understanding user behavior, content effectiveness, and business performance within a learning platform.

1. User Engagement

These metrics focus on how learners interact with your platform.

@ans-sq
ans-sq / ReadMe.md
Created May 16, 2025 05:23
Progressive Web App

Progressive Web Apps (PWAs) Overview

1. What Are PWAs?

Progressive Web Apps (PWAs) are web applications that leverage modern browser APIs to deliver an app-like experience. They combine the reach of the web with the capabilities of native apps by using:

  • Service Workers for offline caching and background sync
  • Web App Manifest for metadata (icons, name, theme, display mode)
  • HTTPS for secure contexts
  • Responsive design to fit any device