|
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | +# Zuno - AI Powered Chatbot |
| 5 | + |
| 6 | +Welcome to **Zuno**, an AI-powered chatbot platform designed to deliver intelligent conversational experiences by combining advanced AI, vector search databases, and cloud infrastructure. |
| 7 | + |
| 8 | +--- |
| 9 | + |
| 10 | +## Table of Contents |
| 11 | + |
| 12 | +- [Project Overview](#project-overview) |
| 13 | +- [Features](#features) |
| 14 | +- [Architecture & Folder Structure](#architecture--folder-structure) |
| 15 | +- [Setup & Installation](#setup--installation) |
| 16 | +- [Environment Variables](#environment-variables) |
| 17 | +- [Running the Project](#running-the-project) |
| 18 | + - [Backend (AWS)](#backend-aws) |
| 19 | + - [Frontend (Client)](#frontend-client) |
| 20 | +- [Deployment](#deployment) |
| 21 | +- [Contributing](#contributing) |
| 22 | +- [License](#license) |
| 23 | +- [Contact](#contact) |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +## Project Overview |
| 28 | + |
| 29 | +Zuno is a full-stack AI chatbot platform featuring: |
| 30 | + |
| 31 | +- **Backend API**: Hosted on AWS, containing microservices for AI pipelines, authentication, billing, project management, and web scraping. |
| 32 | +- **Frontend client**: Built with TypeScript and React/Next.js, providing a responsive UI for user interactions and management. |
| 33 | +- Integration with vector search databases like Pinecone and Weaviate to enhance chatbot intelligence. |
| 34 | +- CI/CD automation with GitHub Actions and Vercel for seamless deployment. |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | +## Features |
| 39 | + |
| 40 | +- Advanced AI chatbot powered by custom AI pipelines. |
| 41 | +- User authentication and secure session handling. |
| 42 | +- Subscription and billing management. |
| 43 | +- Project creation and chatbot management dashboards. |
| 44 | +- Automated scraping for dynamic content updates. |
| 45 | +- Environment-specific configuration. |
| 46 | +- Automated deployment workflows. |
| 47 | + |
| 48 | +--- |
| 49 | + |
| 50 | +## Architecture & Folder Structure |
| 51 | + |
| 52 | +``` |
| 53 | +
|
| 54 | +zuno/ |
| 55 | +├── aws/ # Backend API microservices (Node.js) |
| 56 | +│ ├── controllers/ # API controllers |
| 57 | +│ ├── routes/ # API routes |
| 58 | +│ ├── middleware/ # Express middleware |
| 59 | +│ ├── ai/ # AI pipeline code |
| 60 | +│ ├── utils/ # Utilities (logging, error handling) |
| 61 | +│ ├── scraping/ # Scraper scripts |
| 62 | +│ ├── vectorstore/ # Pinecone & Weaviate integration |
| 63 | +│ ├── package.json |
| 64 | +│ ├── .env # Backend environment variables (excluded from git) |
| 65 | +│ └── main.js # Entry point |
| 66 | +├── client/ # Frontend client apps |
| 67 | +│ ├── sdk/ # SDK or helper libs for frontend |
| 68 | +│ ├── zuno-frontend/ # Main frontend Next.js app |
| 69 | +│ ├── .env # Frontend env vars (excluded from git) |
| 70 | +│ ├── package.json |
| 71 | +│ └── vite.config.ts |
| 72 | +├── docs/ # Documentation & diagrams |
| 73 | +├── scripts/ # Deployment and utility scripts |
| 74 | +├── .github/ # GitHub workflows for CI/CD |
| 75 | +├── .gitignore # Git ignore rules |
| 76 | +├── package.json # Root package.json (if needed) |
| 77 | +└── README.md # This file |
| 78 | +
|
| 79 | +```` |
| 80 | +
|
| 81 | +--- |
| 82 | +
|
| 83 | +## Setup & Installation |
| 84 | +
|
| 85 | +### Prerequisites |
| 86 | +
|
| 87 | +- Node.js (v16+) |
| 88 | +- npm or yarn |
| 89 | +- AWS CLI configured for backend deployment |
| 90 | +- Vercel account for frontend hosting |
| 91 | +- Access to Pinecone/Weaviate (API keys) |
| 92 | +
|
| 93 | +### Installation Steps |
| 94 | +
|
| 95 | +1. **Clone the repo** |
| 96 | +
|
| 97 | +```bash |
| 98 | +git clone https://github.com/Coder-Philosopher/zuno.git |
| 99 | +cd zuno |
| 100 | +```` |
| 101 | +
|
| 102 | +2. **Install backend dependencies** |
| 103 | +
|
| 104 | +```bash |
| 105 | +cd aws |
| 106 | +npm install |
| 107 | +``` |
| 108 | + |
| 109 | +3. **Install frontend dependencies** |
| 110 | + |
| 111 | +```bash |
| 112 | +cd ../client/sdk |
| 113 | +npm install |
| 114 | + |
| 115 | +cd ../zuno-frontend |
| 116 | +npm install |
| 117 | +``` |
| 118 | + |
| 119 | +--- |
| 120 | + |
| 121 | +## Environment Variables |
| 122 | + |
| 123 | +Create `.env` files in these locations (add your secrets, never commit): |
| 124 | + |
| 125 | +* `aws/.env`: AWS credentials, DB URLs, API keys, JWT secrets |
| 126 | +* `client/sdk/.env`: SDK-specific configs (if any) |
| 127 | +* `client/zuno-frontend/.env`: Frontend environment vars like API endpoints, public keys |
| 128 | + |
| 129 | +--- |
| 130 | + |
| 131 | +## Running the Project |
| 132 | + |
| 133 | +### Backend (AWS) |
| 134 | + |
| 135 | +Start backend API locally: |
| 136 | + |
| 137 | +```bash |
| 138 | +cd aws |
| 139 | +npm run dev |
| 140 | +``` |
| 141 | + |
| 142 | +### Frontend (Client) |
| 143 | + |
| 144 | +Start frontend app locally: |
| 145 | + |
| 146 | +```bash |
| 147 | +cd client/zuno-frontend |
| 148 | +npm run dev |
| 149 | +``` |
| 150 | + |
| 151 | +--- |
| 152 | + |
| 153 | +## Deployment |
| 154 | + |
| 155 | +* **Backend**: Use the `scripts/deploy-backend.sh` script or CI/CD pipeline to deploy on AWS. |
| 156 | +* **Frontend**: Connect GitHub repo to Vercel and configure environment variables in Vercel dashboard. Deployment happens automatically on push. |
| 157 | +* GitHub workflows automate testing and deployment under `.github/workflows`. |
| 158 | + |
| 159 | +--- |
| 160 | + |
| 161 | +## Contributing |
| 162 | + |
| 163 | +Contributions welcome! |
| 164 | + |
| 165 | +* Fork the repo |
| 166 | +* Create feature branch |
| 167 | +* Run tests & lint code |
| 168 | +* Submit a pull request with detailed description |
| 169 | + |
| 170 | +--- |
| 171 | + |
| 172 | +## License |
| 173 | + |
| 174 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 175 | + |
| 176 | +--- |
| 177 | + |
| 178 | +## Contact |
| 179 | + |
| 180 | +**Abdullah Shaikh** |
| 181 | +GitHub: [Coder-Philosopher](https://github.com/Coder-Philosopher)\ |
| 182 | +X (Twitter): [@abdsbit](https://x.com/abdsbit)\ |
| 183 | +Email: [abdullahsknitrr@gmail.com](mailto:abdullahsknitrr@gmail.com)\ |
| 184 | +Project Repository: [https://github.com/Coder-Philosopher/zuno](https://github.com/Coder-Philosopher/zuno) |
| 185 | + |
| 186 | + |
0 commit comments