✨ Live demo : https://cita-official.vercel.app
This is a web application designed for practicing interviews, built using Next.js and TypeScript. The client-side interface is styled with Tailwind CSS and Radix UI. Authentication is managed through Kinde Auth. Each user has a personalized dashboard where they can upload their resume and job description for the interview. The interview process is conducted by a human avatar created using Three.js, featuring lip-sync capabilities, Text-to-Speech (TTS), and Speech-to-Text (STT) functionalities. The application integrates the Gemini API for chatbot interactions and utilizes Hugging Face models for personality evaluation and sentence similarity assessment. Prisma is used as the ORM, interfacing with a PostgreSQL database. This repository contains the source code for the entire application.
Before running this project, make sure you have the following software installed on your system:
- Node.js (v20.9.0 or higher)
- npm (v10.1.0 or higher)
NB: All the mentioned steps must be done within the main
branch only.
To get started with the app, you will need to clone this repository and install the dependencies. You can do this by running the following commands in your terminal:
git clone https://github.com/Asterdev-03/cita.git
cd cita
In cita
directory, create a file .env
Add the following in the file.
DATABASE_URL = *******************
TOKEN=*******************
API_KEY = *******************
KINDE_CLIENT_ID=*******************
KINDE_CLIENT_SECRET=*******************
KINDE_ISSUER_URL=https://*******************
KINDE_SITE_URL=http://localhost:3000
KINDE_POST_LOGOUT_REDIRECT_URL=http://localhost:3000
KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:3000/dashboard
Install the dependencies by running the following commands in your terminal:
pnpm install
npx prisma generate
npx prisma db push
Once you have installed the dependencies and set the environment variables, you can run the program by running the following command from the cita
directory:
pnpm run dev
This will start the project and open the app in your default browser. This may take 2-3 minutes.
This project is licensed under the Apache License. See the LICENSE file for details.