vansh-sardana / Hairify

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Harify

Hairify

one solution for all your hair problems

🌟 Stars 🍴 Forks πŸ› Issues πŸ”” Open PRs πŸ”• Close PRs
Stars Forks Issues Open Pull Requests Close Pull Requests

Featured In

Event Name Event Description
GirlScript Summer of Code 2024 GirlScript Summer of Code is a three-month-long Open Source Program conducted every summer by GirlScript Foundation. It is an initiative to bring more beginners to Open-Source Software Development.

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`
- Create a .env file and copy paste the content of .env.sample
- 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

hairify-login

Signup

hairify-signup

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 73.5%Language:Python 25.4%Language:CSS 0.8%Language:JavaScript 0.3%