Skip to content

PiyushPratap10/health_diagnosis_chat_application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the backend of the HealthWise AI Application

This application is designed for real-time conversation with a Health Chatbot.

Install the packages mentioned in the requirements.txt file.

For time being PostgreSQL should be installed on your device to use this.

If you have it installed then make a database - health_diagnosis_app

Then run the below code in the Query tool of Postgres

CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE TABLE users (
   user_id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
   email VARCHAR UNIQUE NOT NULL,
   password_hash VARCHAR NOT NULL,
   name VARCHAR,
   age INTEGER,
   gender VARCHAR,
   is_verified BOOLEAN DEFAULT FALSE
   );

Then run this code in the Query Tool.

CREATE TABLE user_tokens (
   user_id UUID PRIMARY KEY REFERENCES users(user_id) ON DELETE CASCADE,
   token TEXT NOT NULL
  );

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages