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.
- ⚡ 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
- 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
- Node.js (or Bun)
- npm/yarn/bun
# 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
# Start the development server
bun run dev # or npm run dev or yarn dev
The app will be available at http://localhost:3000
.
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
Contributions are welcome! Please open an issue or submit a pull request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/YourFeature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/YourFeature
) - Open a pull request
This project is licensed under the MIT License.
Made with ❤️ for the Pakistan AI community.