![]() |
![]() |
|---|
ASKIT is a community-driven Q&A platform that leverages ChatGPT to expand, enhance, and get more in-depth answers to various questions from a diverse range of categories. It is built using Next.js, Prisma, and NextAuth.js.
- Diverse Categories: ASKIT offers a wide variety of categories, not limited to just tech. Users can find answers to their questions on topics ranging from technology to arts, science, and more.
- AI-Powered Search: Our AI-driven search engine makes it easier to find relevant answers quickly.
- Secure Authentication: We use NextAuth.js for secure and customizable authentication.
-
Efficient Data Handling: Prisma ensures efficient data handling and database operations.
-
Modern UI: ASKIT boasts a clean and user-friendly interface powered by Tailwind CSS.
-
APIs: We use tRPC for efficient and type-safe API communication.
- Node.js
- NPM or Yarn or PNPM
- Your favorite code editor
-
Clone the repository:
git clone https://github.com/ChiragAgg5k/askit cd askit -
Install dependencies using your favorite package manager:
npm install # pnpm install # yarn install
-
Create a .env file in the root directory with the following environment variables and values:
DATABASE_URL="file:./db.sqlite"-
openssl rand -base64 32
More info here.
-
NEXTAUTH_URL="http://localhost:3000"
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""OPENAI_API_KEY=""-
Migrate the database:
npm prisma migrate dev
-
Run the development server:
npm run dev # pnpm run dev # yarn dev
Your ASKIT instance should now be running at http://localhost:3000.
- Visit the ASKIT website here.
- Sign in or create an account.
- Ask any question on any topic you would like, if it exists you will be redirected to the question page, if not you will be redirected to the create question page.
- Ask questions, provide answers, or upvote and comment on existing posts.
- T3-stack - A fullstack template for Next.js, Prisma, and NextAuth.js.
- Next.js - The React Framework with Hybrid Static & Server Rendering.
- NextAuth.js - Authentication for Next.js.
- Prisma - Next-generation ORM for Node.js and TypeScript.
- Tailwind CSS - A utility-first CSS framework for rapid UI development.
- tRPC - End-to-end typesafe APIs made easy.
This project is licensed under the MIT License License - see the LICENSE file for details.




