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:
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
- Open solution with visual studio.
- Clone this repository.
- Update packages.
- Update environment variables, only first time.
- Run the solution.
- Open http://localhost:5173 with your browser to see the result.
https://github.com/ERNI-Academy/refinaida.gitnpm installnpm run devIf you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
export default tseslint.config({
languageOptions: {
// other options...
parserOptions: {
project: ["./tsconfig.node.json", "./tsconfig.app.json"],
tsconfigRootDir: import.meta.dirname,
},
},
});- Replace
tseslint.configs.recommendedtotseslint.configs.recommendedTypeCheckedortseslint.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,
},
});