Skip to content

daytonaio/sample-bun-nextjs-therabot

Repository files navigation

Sample Gemini API, Bun, NextJS, and Prisma Application

TheraBot is a mental health chatbot that provides a safe space for users to talk about their mental health and receive support. It is designed to help users feel heard, understood, and supported. TheraBot uses Google's gemini API to provide users with personalized mental health resources and support.

🛠️ Technologies Frontend: React.js, Next.js, Tailwind CSS, Shadcn UI Database: MySQL Authentication: Auth.js Core packages: pusher-js, resend, Google's gemini API, Prisma, Spotify API


🚀 Getting Started

Open Using Daytona

  1. Install Daytona: Follow the Daytona installation guide.
  2. Create the Workspace:
    daytona create https://github.com/rohittcodes/daytona-therabot
  3. Create a .env File by copying the .env.example file and adding your environment variables:
    cp .env.example .env
  4. Generate Prism Client and Push the schema to the database:
    npx prisma generate
    npx prisma db push
  5. Start the Application:
    (Daytona will automatically install the dependencies and start the application, but you can also run the following commands manually)
    bun dev

Learn more about my experience with Daytona in the Daytona blog.


✨ Features

  • Safe Space: TheraBot provides a safe space for users to talk about their mental health and receive support.
  • Personalized Support: TheraBot uses Google's gemini API to provide users with personalized mental health resources and support.
  • Spotify Integration: TheraBot integrates with Spotify to provide users with personalized music recommendations based on their mood, emotions, and mental health needs.
  • Secure Authentication: TheraBot uses secure authentication to protect user data and ensure privacy.
  • Real-time Chat: TheraBot provides real-time chat support to help users feel heard, understood, and supported. It uses pusher to provide real-time chat functionality.

Demo

Therabot

ThereBot.-.Made.with.Clipchamp.mp4

About author

Connect with rohitt on Twitter/X and LinkedIn.

About

Sample Bun, Next.js, Prisma Therabot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages