Skip to content

DietLens is an innovative AI-powered platform designed to revolutionize the way you understand and manage your diet.

Notifications You must be signed in to change notification settings

prashantsihag03/diet-lens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diet Lens

DietLens is an innovative AI-powered platform designed to revolutionize the way you understand and manage your diet. Empowering individuals to make informed dietary choices and maintain a healthier lifestyle through advanced technology and seamless user experience.

Live Deployment

File Setup Description

The project is built using Springboot and React. The root repository is a springboot project and all frontend code is located within "frontend" directory. Frontend is built using Vite with React and Typescript.

Any changes made to the frontend needs to be followed by a build which should put all necessary javascript and assets into the src/main/resources directory appropriately. Currently npm run build takes care of this automatically.

Setup

Before executing the project, make sure you follow through following instructions.

AI Env Variables The project requires communicating with OpenAI as well as Azure so please export following environment variables:

export openai_api_key=<openai_api_key>

export azure_vision_api_key=<azure_vision_api_key>

export azure_vision_api_endpoint=<azure_vision_api_endpoint>


Build

Ensure that you have followed all instructions from "Setup" section.

Now, you can run the application from the root directory of the repository.

  • Compile: mvn clean compile
  • Run: mvn spring-boot:run

The project should be ready at http://localhost:8080.

About

DietLens is an innovative AI-powered platform designed to revolutionize the way you understand and manage your diet.

Topics

Resources

Stars

Watchers

Forks