Skip to content

This project modernizes IT infrastructures by combining DevOps, automation, and AI. It features a MERN stack portal with a dashboard and an AI-powered chatbot that answers technical questions using data stored in MongoDB. A Node.js/Express backend manages queries and integrates with n8n workflows connected to a local Ollama LLM, all fully container

Notifications You must be signed in to change notification settings

Diaabloo/infra-ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chat Bot Project

This project focuses on modernizing IT infrastructures by combining DevOps practices, automation, and Artificial Intelligence. It delivers a MERN stack portal with a dashboard and an intelligent chatbot that can answer technical questions using real infrastructure data stored in MongoDB. The backend, built with Node.js and Express.js, manages queries and interacts with automated workflows powered by n8n, which dynamically generate prompts for a local AI agent running on Ollama LLM. The entire solution is fully containerized with Docker, ensuring modular deployment of the frontend, backend, database, automation engine, AI components, and chatbot interface. It is divided into two main components:

  1. Infrastructure Modernization – Analysis of a traditional server-based infrastructure, identification of its limitations (performance, maintenance, scalability), and proposal of modern solutions (virtualization, hyperconvergence, private cloud) through technical and economic benchmarking.

  2. Automation & AI Integration – Development of a MERN stack application (MongoDB, Express.js, React.js, Node.js) replicating an infrastructure portal with a dashboard and an intelligent chatbot. The chatbot provides answers to technical questions using real infrastructure data stored in MongoDB.

    • Data imported from heterogeneous files (.csv, .json, .txt) located in shared/
    • Node.js/Express backend for query handling
    • Automated workflows with n8n connected to a local AI agent powered by Ollama LLM
    • Fully dockerized deployment (frontend, backend, database, n8n, AI, chatbot UI)

This project provides a practical demonstration of how infrastructure modernization, automation, containerization, and AI can be combined to deliver innovative, efficient, and scalable IT solutions.

Overview

  • Monorepo layout: backend/, frontend/
  • Container support: docker-compose.yml
  • OS/Shell (example): Windows 10, PowerShell

Prerequisites

  • Docker and Docker Compose (or Docker Desktop on Windows)
  • Git
  • Optional (for local, non‑Docker runs): language/runtime and package managers used by your backend and frontend

Quick start (Docker)

# from the repository root
docker compose up -d --build

# view logs
docker compose logs -f

# stop
docker compose down

Default service URLs depend on your compose configuration. Common examples:

Check the compose file for actual ports.

Local development (without Docker)

Run services independently from the repo root:

# backend (example)
cd backend
# install deps & start dev server (adjust to your stack)
# e.g. npm install && npm run dev

# frontend (example)
cd ../frontend
# install deps & start dev server (adjust to your stack)
# e.g. npm install && npm start

Environment variables

  • Create environment files as required by backend/ and frontend/ (e.g., .env).
  • Mirror any required values in your docker-compose.yml or Docker environment if using containers.

Project structure

chat_bot/
  backend/            # server-side code (API, services, workers)
  frontend/           # client-side app (UI)
  docker-compose.yml  # container orchestration for local dev
  README.md           # this file

Common tasks

  • Install dependencies: run the package manager commands inside backend/ and frontend/.
  • Lint/format: use the commands defined by each package (e.g., npm run lint, npm run format).
  • Test: run test scripts for backend and frontend (e.g., npm test).

Contributing

  1. Create a new branch from main.
  2. Make focused changes with clear commit messages.
  3. Ensure lint/tests pass.
  4. Open a pull request with a concise description and screenshots/logs where helpful.

Release & deployment

  • Containerized: build and push images, or deploy via your preferred platform using docker-compose.yml as reference.
  • Non‑containerized: follow your backend/frontend deployment guides.

Adding this project to GitHub

# initialize (if not already a repo)
git init
git add .
git commit -m "chore: initial commit"

# create a new GitHub repo, then set the remote and push
git remote add origin https://github.com/<your-username>/<your-repo>.git
git branch -M main
git push -u origin main

License

Choose and add a LICENSE file (MIT, Apache-2.0, etc.) if you haven’t already.

Support

Please open an issue or discussion in the repository for questions and support.

About

This project modernizes IT infrastructures by combining DevOps, automation, and AI. It features a MERN stack portal with a dashboard and an AI-powered chatbot that answers technical questions using data stored in MongoDB. A Node.js/Express backend manages queries and integrates with n8n workflows connected to a local Ollama LLM, all fully container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published