Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

ERNI-Academy/refinaida

About

Refinaida is a solution to help product owners refine user stories. Where, through a definition, a context can be configured to finally be able to obtain several user stories that can be imported into Jira.

Note

In order to use the solution, it is necessary to have an instance in Azure OpenAI, so the variables in the .env file located at the root of the project must be changed:


VITE_AZURE_OPEN_AI_API_KEY=OPEN_AI_API_KEY #Replace with your API key
VITE_AZURE_OPEN_AI_API_VERSION=API_VERSION #Replace with the API version
VITE_AZURE_OPEN_AI_DEPLOYMENT=DEPLOYEMENT #Replace with the deployment name of your model
VITE_AZURE_OPEN_AI_ENDPOINT=OPEN OpenAI_AI_ENDPOINT #Replace with the Azure OpenAI endpoints
VITE_AZURE_OPEN_AI_MODEL=OPEN_AI_MODEL #Replace with the model name

Can you check the documentation here:

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Built With

Getting Started

  1. Open solution with visual studio.
  2. Clone this repository.

  3. https://github.com/ERNI-Academy/refinaida.git
  4. Update packages.

  5. npm install
  6. Update environment variables, only first time.
  7. Run the solution.

  8. npm run dev
  9. Open http://localhost:5173 with your browser to see the result.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default tseslint.config({
  languageOptions: {
    // other options...
    parserOptions: {
      project: ["./tsconfig.node.json", "./tsconfig.app.json"],
      tsconfigRootDir: import.meta.dirname,
    },
  },
});
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked
  • Optionally add ...tseslint.configs.stylisticTypeChecked
  • Install eslint-plugin-react and update the config:
// eslint.config.js
import react from "eslint-plugin-react";

export default tseslint.config({
  // Set the react version
  settings: { react: { version: "18.3" } },
  plugins: {
    // Add the react plugin
    react,
  },
  rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs["jsx-runtime"].rules,
  },
});

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5