Skip to content

Pakistan AI is a blazing fast, modern chat application built with Next.js, TypeScript, Drizzle ORM, and TRPC. It features real-time chat, authentication, user profiles, and a sleek, responsive UI.

Notifications You must be signed in to change notification settings

ShayanAliProgrammer/pakistan-ai

Repository files navigation

Pakistan AI - The Fastest Chat App

Pakistan AI is a blazing fast, modern chat application built with Next.js, TypeScript, Drizzle ORM, and TRPC. It features real-time chat, authentication, user profiles, and a sleek, responsive UI.


🚀 Features

  • ⚡ Super-fast real-time chat
  • 🔒 Secure authentication (sign in & sign up)
  • 🗂️ User profiles and account management
  • 🧩 Modular, component-based architecture
  • 🌙 Light & dark theme support
  • 📱 Responsive design for all devices
  • 🗃️ Modern database with Drizzle ORM
  • 🛠️ API routes with TRPC

🛠️ Tech Stack

  • Framework: Next.js, React
  • Language: TypeScript
  • Database: Drizzle ORM
  • API: TRPC
  • Authentication: Custom (see /src/app/api/auth)
  • Styling: Tailwind CSS
  • Other: Bun, ESLint, Prettier

📦 Getting Started

Prerequisites

  • Node.js (or Bun)
  • npm/yarn/bun

Installation

# Clone the repository
git clone https://github.com/ShayanAliProgrammer/pakistan-ai.git
cd pakistan-ai

# Install dependencies
bun install # or npm install or yarn install

Running the App

# Start the development server
bun run dev # or npm run dev or yarn dev

The app will be available at http://localhost:3000.


🗂️ Folder Structure

pakistan-ai/
├── drizzle/            # Database migrations
├── public/             # Static assets
├── src/
│   ├── app/            # Next.js app directory
│   ├── client/         # Client-side utilities
│   ├── components/     # React components
│   ├── constants/      # App constants
│   ├── hooks/          # Custom React hooks
│   ├── lib/            # Library code (auth, utils, cache)
│   ├── server/         # Server-side logic (API, DB schemas)
│   ├── styles/         # Global styles
│   └── trpc/           # TRPC setup
├── package.json        # Project metadata and scripts
└── README.md           # Project documentation

🤝 Contributing

Contributions are welcome! Please open an issue or submit a pull request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/YourFeature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/YourFeature)
  5. Open a pull request

📄 License

This project is licensed under the MIT License.


🙏 Acknowledgements


Made with ❤️ for the Pakistan AI community.

About

Pakistan AI is a blazing fast, modern chat application built with Next.js, TypeScript, Drizzle ORM, and TRPC. It features real-time chat, authentication, user profiles, and a sleek, responsive UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •