Skip to content

Harsh-1165/kalakriti-main

Repository files navigation

🌸 Kalakriti – Full Stack MERN Application with Docker & CI/CD

Kalakriti is a full-stack MERN application built using modern DevOps practices.

This project demonstrates:

  • Containerization
  • CI Automation
  • Full-stack Integration

🚀 Tech Stack

Frontend

  • React
  • Vite
  • Tailwind CSS

Backend

  • Node.js
  • Express
  • MongoDB
  • JWT Authentication

DevOps

  • Docker
  • Docker Compose
  • GitHub Actions (CI)

📁 Project Structure

kalakriti-main/
│
├── server/
│   ├── controllers
│   ├── models
│   ├── routes
│   ├── Dockerfile
│
├── src/                # Frontend
├── docker-compose.yml
├── Dockerfile         # Frontend
├── .github/workflows/ci.yml
├── package.json
└── README.md

🐳 Run Using Docker

Build & Start

docker compose up --build

Frontend:

http://localhost:5173

Backend:

http://localhost:5000

Stop Containers

docker compose down

🔐 Environment Variables

Create .env file:

MONGO_URI=your_mongodb_connection
JWT_SECRET=your_secret
PORT=5000

⚙️ GitHub Actions CI Pipeline

Workflow:

.github/workflows/ci.yml

CI Flow

On every push to main:

✅ Frontend build
✅ Backend Docker build
✅ Full stack Docker build


📦 CI Jobs

Frontend

  • npm ci
  • npm run build

Backend

  • Docker build

Docker

  • Full stack build

🧪 Run Without Docker

Frontend

npm install
npm run dev

Backend

cd server
npm install
node index.js

✨ Features

  • JWT Authentication
  • MongoDB Integration
  • REST APIs
  • Dockerized Services
  • CI Automation

👨‍💻 Author

Harsh Maniya

DevOps | MERN | AWS | Docker | Kubernetes

GitHub: https://github.com/Harsh-1165


⭐ If you like this project — give it a star!

About

Full-stack MERN application with Docker, Docker Compose & GitHub Actions CI pipeline. Demonstrates containerization, automated builds, and modern DevOps practices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors