inventory management system fontend documentation:

to use environment variables in vite react do this:

  // in .env file
  VITE_BASE_URL = http://localhost:5000/api/v1
  //the place where to use it
  import.meta.env.VITE_BASE_URL