/Parenting_Influencer_GPT

FamilyGuide AI offers expert advice on parenting, child development, and family dynamics, providing personalized insights and promoting positive parenting techniques for caregivers in Hindi and English languages.

Primary LanguageTypeScript

FamilyGuide AI


Backend Docs

FamilyGuide AI Backend


About


FamilyGuide AI is an AI-powered application that offers expert advice on parenting, child development, and family dynamics. Our mission is to support caregivers with personalized insights and promote positive parenting techniques to foster healthy family relationships. FamilyGuide AI is available in both Hindi and English languages, providing comprehensive guidance for all caregivers.


Features

  • User Authenication such as sign up and sign in
  • Role Based access control
  • Ask any questions regarding parenting purposes like Chat-GPT.
  • Error Handling.

Technologies Used

  • Python
  • Flask
  • MongoDB

Clone Repository


git clone https://github.com/Amanmandal-M/Parenting_Influencer_GPT.git

Prerequisites

  • Python 3.11.4
  • Flask 2.0.1
  • Pymongo 4.4.1

Installation


cd Backend

pip install -r requirements.txt

Start the Backend server


python app.py

MVC Structure

├── app.py
├── configs
|    └── db.py
├── models
|    └── all_model.py
├── routes
|    └── user_route.py
├──controllers
|    └── user_controller.py
|    └── responses_controller.py
├──templates
|    └──404.html
|    └──405.html

Note :

  • Before doing anything first create .env file and put PORT , MONGO_URI , NORMAL_KEY , OPENAI_API_KEY.
  • PORT is for listening the server.
  • MONGO_URL is for running database and store your data in database so put your mongo link.
  • NORMAL_KEY is for authentication jsonwebtoken so basically this is your secret key .

Endpoints

Blueprint Method Endpoint Description Status Code
user POST /user/register This endpoint should allow users to register. Hash the password on store. 201
user POST /user/login This endpoint should allow users to login. Return JWT token on login. 201
response POST /prompt This endpoint is for send question to AI and they give responses. 200
response GET /prompt-data This endpoint is for view all the responses of current user who logged in currently. 200

Backend Deployment URL


ER Diagram and Process


Frontend Docs

FamilyGuide AI Frontend


About

FamilyGuide AI is an AI-powered application that offers expert advice on parenting, child development, and family dynamics. Our mission is to support caregivers with personalized insights and promote positive parenting techniques to foster healthy family relationships. FamilyGuide AI is available in both Hindi and English languages, providing comprehensive guidance for all caregivers.


Technologies Used

  • Angular
  • SCSS
  • TypeScript
  • SweetAlert

Clone Repository

git clone https://github.com/Amanmandal-M/Parenting_Influencer_GPT.git

Prerequisites

  • HTML
  • CSS
  • JavaScript

Start the Frontend

 - cd Frontend/influencer-app
 - npm install
 - ng serve

Frontend Deployment URL