harikavaleti911 / Hairify

Home Page:https://hairify-ai.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hairify

one solution for all your hair problems

Deploy Link : Hairify

Hairify is an innovative AI-powered chat assistant dedicated to guiding individuals in improving their hair health. The Hairify website boasts a user-friendly UI tailored to help users find solutions for their hair health concerns.

Features

  • AI chat assistant to give solutions to your hair problems
  • analyze the picture of your scalp condition and detect hairfall stage
  • give you suggestion to tackle your hair loss buy suggesting medication

Tech

System Design

Hairify application runs on 2 server

  • Frontend
  • Backend

des

Tech stack

  • Frontend
    • Next JS
    • Tailwind
  • Backend
    • Django
    • Gemini (Gen AI)
    • SSE
    • Langchain
  • Tools
    • Vercel
    • Render
    • Postgress
    • Cloudinary
    • Langchain

Website Flow

How to setup the project locally

Frontend

- Open Terminal
- Naviagate to your directory and navigate to the frontend folder
- Install Node if not present in your machine
- Do `npm install`
- Rename .env.sample to .env
- Do `npm run dev` to start the project

Backend

- Create a Cloudinary Account and get the creditnals
- Host Postgres locally or on Cloud, you can also use a docker Image
- Create a Gemini Account and get the API Key
- Install Python and Pip if not present
- Do `pip install virtualenv`
- Navigate to backend folder
- Setup virtualenv in your backend folder by typing `virtualenv env` in your terminal
- Activate Virtualenv by doing `.\env\Scripts\activate` (for windows) or `source env/bin/activate` (for linux)
- Do `pip install -r requirements.txt`
- Create a .env file and add all the variables of .env.sample file with relevant keys
- Do `cd hairify` in backend
- Finally do `python manage.py runserver ` to start the server

Website Preview

HomePage

83dae728-5f7f-48c7-b2f4-0dccaacfec55

Login

5e8cb463-c116-4eff-bc96-7a52eb0a1a72

Signup

Screenshot from 2024-03-30 11-29-31

AI Chat

Screenshot from 2024-03-30 11-31-08

Report History Details

Screenshot from 2024-03-30 11-30-48

Report Generate

Screenshot from 2024-03-30 11-29-53

Report Histories

Screenshot from 2024-03-30 11-30-44

About

https://hairify-ai.vercel.app


Languages

Language:TypeScript 71.3%Language:Python 27.5%Language:CSS 0.9%Language:JavaScript 0.3%